pyflakes: remove some unused variables
pyflakes: remove unused imports
pyflakes: fix undefined imports
pyflakes: don't redefine parameter vars
pyflakes: fix redefined unused variables
pyflakes: remove duplicated test 'test_should_match_foo'
travis: check for pep8 errors