Set up Travis CI integration

The main benefit I'm looking for is having the test suite ran against various versions of WordPress, which would catch things like #322.

The setup script could pre-fill the cache with whatever version it wants.