Expose the AMD require function globally in Node.js

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

Fixes #115.