Add tox environment to check for PEP8 issues and fixed several PEP8 issues