Updated for Node 0.10.x

Node 0.10.x requires addons to register using the NODE_MODULE macro.