Updated for Node 0.10.x

Node 0.10.x requires addons to register using the NODE_MODULE macro.
Merge pull request #3 from tyduptyler13/master

Updated for Node 0.10.x