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

...es
Ah, I would prefer something more relaxed and modern. Can we try 100 or 120?