Add new "lint" target to tox, flake8 fixes in the whole codebase.
Fix a test.
Run lint step on travis-ci.