Testing!

I think this PR will make @felixhummel happy, we finally have a decent testing infrastructure:

* Travis
  + Installs the software
  + Runs `pep8` on the whole project
  + Runs the tests
* Tests
  + Quite naive, but still
  + Covering around 50% of the code

We just need to start writing more and better tests.