Add Travis-CI configuration

See http://about.travis-ci.org/docs/user/getting-started/ for how to setup the build hook so all commits and PRs are built.