[misc] Small refactoring to wiki components module
* Use XWikiContext provider instead of accessing it through the Execution
* No need to use a serializer for DocumentReference to print logs.
* Convert some tests to Mockito.
XWIKI-9502: The ComponentManager associated to the wiki is not disposed when the wiki is deleted
XWIKI-9504: The ComponentManager associated to the document is not disposed when the document is deleted
XWIKI-9503: All documents with the same name share the same component manager
XWIKI-9500: Add Wiki icon missing from top menu when users is on a subwiki.
XWIKI-8535: Add translation keys for Search Suggest
XWIKI-8535: Add translation keys for Search Suggest
Merge pull request #177 from gdelhumeau/XWIKI-9500

XWIKI-9500: Add Wiki icon missing from top menu when users is on a subwiki
XWIKI-9475: Change top menus when Workspaces is activated.

* Fix a warning message that appears in the console.
XWIKI-9475: Change top menus when Workspaces is activated.

* Fix a warning message that appears in the console.
XWIKI-9475: Change top menus when Workspaces is activated.

* Fix a warning message that appears in the console.
Merge remote-tracking branch 'origin/XWIKI-9501' into XWIKI-9501