using nan (https://github.com/rvagg/nan) to support virtually all node version
Merge pull request #3 from vhain/master

Merging vhain's patch: using nan (https://github.com/rvagg/nan) to support virtually all node version