Fix building multiple modules with shared excludes

If module A & B both require module Z but also are set to exclude it,
after build, A & B don't contain Z as expected,
but module Z is empty.
Test for #322
Merge pull request #322 from avaly/bug-module-exclude

Fix building multiple modules with shared excludes
Fixes #386, sync get in node was not resolving relative IDs correctly.
test cleanup
Relates to #386, test for it
snapshot
Fixes #380, resolve sync require in node with a cycle
snapshot
Fixes #373, make sure appDir and dir are not set to same directory
Fixes #388, do not rename function declarations for define
snapshot
Fixes #389, set log level before finishing config checks
snapshot
Fixes #382, allow using optimizer as JS object in rhino (and xpcshell)
snapshot
Update README for more xpcshell info
Update README for more xpcshell info
rev for 2.1.5
Fixes #393, make relative node requires fully pathed