Move to using requirejs-rails, upgrade rails version.