Updated gemspec and require stanzas to support Rails 4

This has been updated to support ActiveModel and ActiveSupport 4.x.

I have also tested the changes against 3.x, which appear to work fine, but I am unsure of the best way to support both versions (i.e. ~> 3.0 and <= 4.0) without having it fail for some of the edge dependencies.