JPS plugin: remove unnecessary  method KotlinSourceFileCollector#hasDirtyFiles.
JPS plugin: make the code more understandable -- added some comments and rename scriptFile to moduleFile.
JPS plugin: add support external compilation for JS modules.