XWIKI-9402: Wrong titles displayed for Color Theme pages
* Fixed regression introduced by XWIKI-9388 (better fix)
* Remove the EditModeClass object which is not needed any more.