pep8 cleanup in unit tests
Handle missing '}' in config files

pynag should be able to handle (and fix) config files that
have a missing object definition.

Fixes #134