Refactor allow rescue

Refactors the mechanism to rescue exceptions in the app. It now also allows the exception app to handle the exceptions and thus be tested.

This actually makes `AC::Base.allow_rescue` obsolete. Should it be deprecated and removed?