Fix pep8 errors

* Fix pep8 errors
* Add flake8 to tox.ini

Change-Id: Icaa76ed9273567f884462f0ac60e24e31b70fbd0
Signed-off-by: Joe Mills <joe@midokura.com>