Fixes noodle usage as node.js module by specifying the proper require string

Fixes noodle usage as node.js module by specifying the proper require string and sets the full path (__dirname) for files that are opened by noodle.js.

It should fix issue 93: https://github.com/dharmafly/noodle/issues/93

Cheers
.paulolc