Fix Ruby 1.8.7

Surprisingly, this was a piece of cake.
Add Travis CI (it won't work yet)

The integration tests currently need a real Apple ID to pass, which is
obviously not going to work. I want to make sure that everything else
passes before fixing that.