Add support for node-webkit environment.

Node-webkit allows loading with require in node's context, so just just
skip the node support if it is node-webkit.
Add check for node's style require.

When running in node-webkit, honor both require() and r.js
require.nodeRequire(). Allow entering the node branch of the code in the
latter case.
Revert "Add check for node's style require."

This reverts commit 902cd2bc79bd36ed878b9af832c7ddc83729daff.
Fixes #57 xpcshell: windows FileUtils.File does not like / paths
Merge pull request #55 from busykai/master

Support text in node-webkit.
rev to 2.0.9
Fixes issue where the text plugin does not honour 'empty:' config baths when building using r.js

References the r.js issue #493 (https://github.com/jrburke/r.js/issues/493). User who reported that issue has not created the issue on the text repository.
Update README with comment about placing `text.js` in other areas
Merge pull request #60 from dakota/patch-1

Fixes issue where the text plugin does not honour 'empty:' config baths ...
Merge pull request #61 from AnSavvides/master

Update README with comment about placing `text.js` in other areas
rev to 2.0.10