Add tox.ini and fix pep8 problems

Change-Id: I42f6ed2fbf211e7ac6adcd8e40ce29ec8c7c5c5c