Check QA: add flake8/frosted to tox/travis

Also fix any current issues, and sort imports.