Ease mocking of Rails app in client code integration tests

This lets tests inject the app into RailsExceptionNotifier methods to
avoid a call to Rails.application