PEP8 and CI

Code-cleanup to follow [PEP8](http://www.python.org/dev/peps/pep-0008/) and add configuration for [Travis](https://travis-ci.org) so we can run automated tests once we make them (I've made one as a start :)).