Changed Rails dependency to allow for Rails 4.0.0 and updated Gemfile.lock