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.