Add a default implementation of EventLoop

For tests and such.