Updating Gemfile and Gemfile.lock to use Rails 4.
Updating dependencies.