Update Dependencies For Rails 4

Updated the railties dependencies to allow Rails 4 users to install the gem. Tested it on my Rails 4 app and it works perfectly.