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
Alter main attr to use lib/noodle instead of bin/noodle-server.