Add support for travis-ci.org and coveralls.io.

Also cleanup pep8 for checking with flake8 in travis.