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.