Start using pyflakes

Enable Pyflakes tests. Fix those warnings that occur.
Also explicitely list the pep8 warnings that currently
fail.

Change-Id: Icfd7bf23007a99187cfee66cbd630e0e885bf7d3