Pluggable eventloop adapters

Here is an implementation of using pluggable eventloop adapters, instead of being hardcoded to Tornado