Removing the app constant and replacing it with Rails.application
syntax. This helps removing the class level abstraction of an
application.
Merge pull request #10389 from wangjohn/removing_the_app_constant_and_replace_with_rails_application_instance

Removing the app constant and replacing it with Rails.application