MPS-19756 new java stubs model roots don't work in build

add "path" for mantain old model root format
MPS-19792 CheckReferences Distribution errors remain in the jetbrains.mps.ide.mpsdevkit solution
Merge branch 'MPS3.1'