Gradle:  use module library level for local dependencies, update library name to contain groupId

related issues:
IDEA-124567 Gradle dependencies same artifactId not used
IDEA-122328 Gradle: Dependency View missing groupId
IDEA-124033 Gradle project import creates incorrect project libraries
IDEA-125565 Start from Scratch: Customize IDEA dialog: UI Themes page looks bad on Linux
get java language level from the root model when pushers haven't finished yet
dumb-aware error dropping actions
restore (wrong) Logger.assertTrue contracts
IDEA-122962 - Clouds: perform connection test in background - auto-reload in frameworks
IDEA-125566 Start From Scratch: can't close Customize IDEA dialog
a little bit smarter methods matching
NPE when using from UML