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

...es