Let's start testing against Rails 3 and Rails 4

This pull request sets up Appraisal to test against multiple versions of Rails, and also contains a Travis.ci config against multiple versions of Ruby.

A first step towards Rails 4 support.