Some flake8 fixes.
Fix most flake8 errors in test.
Run flake8 and check-manifest on Python 3.4.