Added RNG support for node.js

I added RNG support for node.js. The module now checks the runtime and gathers entropy accordingly at startup.

I compiled the module and successfully tested the patch in chrome and in node.