add coveralls badge to README, add flake8 check to Travis CI