Add travis-ci continuous integration.

This makes sure all of the unittests pass before a pull request is merged in.
Add travis-ci build status to the README file.