Fixing sooooo many pep8 and pyflakes issues (and adding checks to travis)