Updated gem dependencies and fixed all features so that cucumber-rails works with Rails 4.0.0.beta1.