XWIKI-10165: Hide the content bar when asked

* Take into account the value of '$displayContentMenu' in 'edit' mode