Switch to flake8 from pep8.

 * flake8 supports more checks than pep8 (e.g. detection of
   unused imports and variables), and has an extension mechanism.
   A plugin to support automatic HACKING validation is planned.
 * See: http://flake8.readthedocs.org/

Change-Id: I8c9314c606802109a4d01908dbc74ecb792ad0ac
Imported Translations from Transifex

Change-Id: Ie9108ffeaa267ad932105b0e6d1f770f35896d17
Merge "Switch to flake8 from pep8."