Fix 1088111. Add flake8 testing to travis builds.

Remove compiled requirement in dev requirment.

Move flake8 code into a seperate shell code.

Rename lint file and change scope of flake8
PEP8 ALL THE THINGS!