major pep8 fixes for many scripts

not tested all of them: may not work
also created tox.ini for pep8 configuration