First spike of using the new external build process (JetBrains Project System, JPS) to invoke Jangaroo compilers.
So far, only a new JangarooBuilder is established that finds all dirty *.as files.
WIP: trying to invoke jooc
Managed to invoke jooc with correct sourcePath, sourceFiles, outputPath, classPath for libraries.
Several TODOs where to continue...
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

JPS build process for AS->JS compiler uses Jangaroo Facet
configuration. Only Jangaoo SDK is not used yet (hard-wired).
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

Got rid of string literals to find Jangaroo Facet elements.
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

WIP: trying to serialize JPS configuration
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

Another way of serializing Jangaroo SDK JAR path information
so that we can use it in the JPS build. It seems there is still
something missing...
initial
initial
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

WIP: Refactor Jangaroo SDK home path => JARs to use File instead of VirtualFile,
so it can be used in JPS
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

Gave up serializing Jangaroo SDK's JAR paths as "additional data".
Instead, using the Jangaroo SDK home path to compute JAR locations
in the JPS plugin. To achieve this, moved JAR path computation from
JangarooSdkType to JpsJangarooSdkType and used File instead of VirtualFile,
so the code can be used in JPS.
To access the JPS SDK, changed JangarooFacetImporter to set the
Jangaroo SDK as module SDK instead of as a JangarooFacet property.
TODO: get rid of Jangaroo SDK chooser in facet.
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

Implemented ExmlBuilder to invoke the EXML compiler from JPS.
Refactored JangarooBuilder to reuse some utility functions and
to make both builders look similar.
added freemarker dependency
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

Added JAR-download helper module to IPR
prevent fiddling with disposed modules
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

Correctly set up compiler for compiling production and test sources.
Handle test dependencies correctly.
moved utility methods to where they are actually used
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

Must add the resource folders of dependent modules to the
EXML compiler classpath, or XSD will not be found and validation
fails.
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

Added properties compiler to ExmlBuilder, because it is
regarded part of EXML and work in a similar way.
Had to add some (transitive) dependencies to make
properties compiler work in JPS JVM.
IDEA-27 Jangaroo 0.9 plugin does not work with IDEA 13

Reduced method complexity (extract method) and improved properties compiler error handling.