Add Appraisal gem to test against Rails versions

Add .travis.yml and the Appraisal gem to test against multiple versions of
Rails.