Fixed pep8 issues and added travis targets: docs,testcoverage,flake8