Add TravisCI config

This pull request adds a Travis CI config for running tests on every push.

To enable automatic building, you also need to enable Travis CI post receive hook for this repository after merging this pull request. You can find information on how to do this at http://about.travis-ci.org/docs/user/getting-started/#Step-two%3A-Activate-GitHub-Service-Hook.