added support for executing a shutdown procedure when the Micro web application is stopped. Also notifying the extensions to shutdown.