Calls to the application constant have been refactored

Instead of using ``AppTemplate::Application`` when drawing routes or creating configurations
on the application, I'm changing to use ``Rails.application`` which is more agnostic.

Doing this means that in the future, if the Rails application is no longer a singleton, you'll still be able to use the tests by calling the canonical rails application instance.