Created by: fitnr
This fixes an issue where utilities without the --no-header-row option (such as csvgrep) throw an AttributeError when run with the --names option.
Using getattr with a default value of None shouldn't have any other consequences, since if no_header_row is missing from the argparse.Namespace object, there can't be a conflict between --names and  --no-header-row.
This fixes #254 (closed) and #279 (closed). The same problem is mentioned in #399, but I believe this is a more complete fix.
Also added a test for the --names flag.