added CommonJS Universal Module Definition support (support module.exports), refactored getRandom to be created at module definition time, changed node.js getRandom() implementation to use readUInt32BE() function