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

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

gradle-1.6 is applied
Better diagnostics for class' source location
Merge remote-tracking branch 'origin/master'
Autolayout
Merge remote-tracking branch 'origin/master'