Add a .travis.yml for Travis CI

Currently uses Ubuntu's build dependencies, and runs make check and
check-daemon.