Fixes noodle usage as node.js module specifying the proper require string in the example and setting the full path (__dirname) for files that are opened by noodle.js