Improved PEP8 and code style checking

Added pep8 and code style checks to the tox.ini
Checks are performed using flake8 with hacking (OpenStack)
addon installed
Updated TravisCI settings to use tox for testing