Implemented IApplicationShutdown

- When files change RequestShutdown waiting for the debugger to detach.
- Added IApplicationShutdown to the host service provider

#104