Updated for libuv changes in node 0.10
Merge pull request #30 from tomhughes/node10

Updated for libuv changes in node 0.10