Added travis and coveralls. Flake8ified #4507