Complete the initial upgrade to Rails 4 and Ruby 2