Tweak Makefile automatically run `npm install`
Add tests for CommonJS environment variables
Change typeof module from 'function' to 'require' to match Node.js implementation
Merge pull request #23 from jamestalmage/master

Change typeof module from 'function' to 'require' to match Node.js