IDEA-109465 make run configuration's unique name unique for module based run configurations

+ Run Configurations API: refactoring