Update ApplicationLifecycleModule.cs

Add way to hook in and change behavior of events.  https://github.com/serilog/serilog/issues/290, https://github.com/serilog/serilog/issues/279 and https://github.com/serilog/serilog/issues/285