Setup base files for the branch 8.0, forward port from 7.0 and makes pep8 pass

travis_run_flake8 is no more required