Run tests against different Rails versions

This introduces the use of [Appraisal](http://robots.thoughtbot.com/appraisal-find-out-what-your-gems-are-worth) to test against Rails 3.1, 3.2, and 4.

It fixes a number of issues I had when running tests against those versions.

I just discovered #34 and realized I'd effectively dropped support for Ruby 1.8 :grimacing:  I guess this just got on the top of my TODO list.

To run against those Rails versions locally:

1. `rake appraisal:install`
2. `rake appraisal spec`

I'd love to see this released, but I'm still eager to get feedback on it. See a passing build [here](https://travis-ci.org/awendt/api_auth/builds/21280458)