Add error detection self-tests

Adds a new `env` directive EXPECTED_ERRORS, allowing to confirm
if a certain number of errors is in fact detected.
Fix PEP8 and add info message
Detect bad module names to install
Have broken module generate one error
Add failing tests to tested module
Change directive name to SERVER_EXPECTED_ERRORS
Merge pull request #131 from dreispt/test-has-failed

Add self test ability, to check if errors are successfully detected