Test against ActiveRecord 4.0.4 and 4.1.0

I've set up Appraisals so this gem can be tested against different versions of ActiveRecord.
Just run `rake appraisal` to run against the different versions. 

Had to remove one of the specs though, because an unnamespaced `database.yml` doesn't seem supported any more.