XWIKI-8766: Restructure the search application's layout
* add missing retro-compatibility feature