Use setImmediate instead of process.nextTick if available.
(cherry-picked from commit 3a92a64094dfb83250b424528edc88f730015136)

Conflicts:
	lib/transforms/compressJavaScript.js
1.5.12