Expose the AMD require function globally in Node.js

This is necessary for consistently discovering the Node.js require function.

Fixes #115.
Merge branch 'master' into geezer