Change gemfile to allow usage with AR 4.0+

Not sure if this is really adequate -- the specs pass with ActiveRecord 4.0.3 though