Better support for application's reset

When `reset` is called on an application:
1- the router is reset, which will `exit` all routes
2- the container gets destroyed, and therefore the store

When exiting a route, the `deactivate` hook is called on the route.
If an XHR request is triggered in that hook, it is possible that the
success callback gets called after the container has been destroyed.