Start implmentation of @in_event_loop.
Functions wrapped with @in_event_loop return a DeferredResult.
Expose in_event_loop as public API.