Node module fix

Minor updates to allow chancejs to be used as a node module.
Otherwise, node cannot find the module.
See http://nodejs.org/api/modules.html#modules_folders_as_modules .