introduce context->event_ops

Signed-off-by: Alejandro Mery <amery@geeks.cl>
libev: move loop setting and backend printing to event_ops->init()

Signed-off-by: Alejandro Mery <amery@geeks.cl>