Return number of PEP8 errors as return code

When running pep8 tests, return number of errors so that error code can be used by calling script. Useful for checking that no pep8 violations are introduced before going to review.