Flush buffers on unhandled exception to log message in case of async logger (close #171)
Merge pull request #196 from solyutor/flushbuffers

Flush log buffers on unhandled exception
Flush log buffers if HostFactory.New or HostFactory.Run throw exception
Merge pull request #201 from solyutor/flushbuffers2

Flush log buffers if HostFactory.New()/Run() throws an exception.
Updated build and version
Return error code for unhandled exceptions when running service under ConsoleHost

This makes the behaviour consistent with the WindowsServiceHost
Adding Elmah logging project as an alternative logging option
Conditionally reference Elmah for the .NET builds

An attempt to follow the patterns established how Log4Net and NLog are
set up.
Updated build for elmah logging