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

1. 'external system' tool window is introduced;
2. It's possible to refresh all external projects from the corresponding tool window now;
3. New tasks infrastructure is defined;
IDEA-106589 100% CPU on completion in invalid XML