Update documentation to use Rails.application instead

References to ``AppName::Application` removed in favour of ``Rails.application``
as generated with a new rails 4.1 app.

[ci skip]
Merge pull request #14718 from mcmorgan/update-documentation-to-match-generated-config

Update documentation to use Rails.application instead