Rails 4 beta support

Depend on railties >= 3.1, seems to work fine, there are no changes to railties that should affect this gem: http://edgeguides.rubyonrails.org/4_0_release_notes.html#railties