fix #39: fix v8 synchronization context and handling of libuv async handles