Tox, pep8, testpackages

 - Add support for running tox to test all environments locally.
 - Added pep8 in tox and for TravisCI test
 - Fixed pep8 issues.