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
Fixed all PEP8 and hacking errors
Merge pull request #15 from prmtl/pep8

PEP8 and code style checking