Issue 990: HttpServer should convert exceptions to safe http response
messages

The earlier fix is not handling exceptions thrown in the task itself as it
is not awaiting.
Issue 995: NullPropagation option smart detection should handle
ObjectContext and ObjectQuery

Earlier fix ignored EF6 and there is a namespace change in EF6.