pin pep8, pyflakes and flake8 to avoid travis errors
Merge pull request #670 from opdemand/pin-pep-pyflakes

Pin pep8, pyflakes and flake8 to avoid Travis errors