Enabling PEP8 tests in tox and re-working source to comply

Change-Id: Ia75aea24419fdef92aa81b213bd5178b2718f716