XWIKI-9970: Look at 'displayMainMenu' in edit mode

* The 'displayMainMenu' is now checked before loading the 'menuview.vm' in edit
mode