Fix tests
Add options for wrapping the JSON output in a Node.js export definition or AMD definition.
Use .js extension for wrapped output + add test-case for Node.js exports
Merge pull request #4 from arendjr/master

Fix tests + add options for wrapping the JSON output in a Node.js export or Require.js definition