NodeExecutorBase: Detect change before writing.
#1069 and #1224

Also, adds JsCompileBase for CoffeeScript,
LiveScript and SweetJS.
Merge pull request #1225 from am11/master

NodeExecutorBase: Detect change before writing