Add flake8 check & resolve violations
Add .travis.yml for CI