IDEA-104500 Gradle: Allow to reuse common logic for other external systems

Right class loader is used for proxy classes as well now
Platform: offline inspections always save xml results in UTF-8
AppCode: inspection tests improved: expected data in vcs, publishing results on teamcity, disabled spelling inspection