Set up travis with flake8

setup.cfg is based on https://github.com/django/django/blob/master/setup.cfg