Add tox environment to check for flake8/pep8 issues and fixed several PEP8 issu...

...es
Can you verify this will lint the `test` directory as well?