Integrate with Travis CI

- [x] Get the project ~~building~~ running tests on Travis
- [x] Get the tests to pass with 2.0, 1.9.3 and 1.9.2
- [x] See the build status in this PR.