Set up travis + add linting
Improve style of worker.py so it conforms to pep8