Add support for EventMachineThread*

However, only EventMachineThreadDefer could pass all the tests
*usually*. EventMachineThreadSpawn sometimes would fail, and
EventMachineThreadPool would fail most of the times...

I must have done something wrong with thread safety, but I can't
tell from the code. Any comments would be much appreciated,

Thanks!