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

...es
How many lines were in violation of this? And what is the default character limit?