Moved from pyflakes and pep8 to flake8

Summary: flake8 has some desirable features like annotations to deactivate unneeded warnings.

Test Plan: check if linting still works (it does)

Reviewers: spang, emfree

Reviewed By: emfree

Differential Revision: https://review.inboxapp.com/D258