C++ NodeJS module is updated with fixes for the Node v.0.12 release.

Fix was related to nan version and api changes.