Run flake8 on travis.
Fix spurious flake8 warnings about unused import.
Fix flake8 space warning.
Merge pull request #9 from mcmtroffaes/feature/travis-flake8

Run flake8 on travis.