Improve the retrieval of the root mode inside the Mode-EditParts
Currently, the Root mode is retrieved by walking up the eContainers. Instead, it would be more robust to get the parent ModeAutomaton and fetch the root mode from there.
(from redmine: issue id 2487, created on 2016-02-03, closed on 2016-03-07)