XWIKI-11223: Avoid hacking the context document content author by using XWikiContext sdoc hidden property in wiki macros
XWIKI-11222: SOLR search display Wiki facet while searching from a subwiki
[misc] Remove unused import
XWIKI-10840: Invalid HTML5 meta tags used in flamingo.

* Remove the invalid meta tags from the HTML
* Add them with JS for retro-compatibility
* Need to be done: a new API to get the metadata without accessing the DOM
XWIKI-10840: Invalid HTML5 meta tags used in flamingo.

* Introduce the SetContentScriptTypeFilter to get rid of one of the meta tags.
* Remove <meta http-equiv="imagetoolbar" content="no"/>.
* Add the 'X-UA-Compatible' HTTP header for IE.
XWIKI-10840: Invalid HTML5 meta tags used in flamingo.

* Better looking code
XWIKI-11226: XWikiDocument context document switch shoud take into account secure doc (sdoc)
XWIKI-11227: Use sdoc instead of hacking the content author when displaying a document with a sheet
XWIKI-11229: Wiki Index fails for guest users with a NPE
XWIKI-11230: hasAccessLevel fails for guest
XWIKI-11232: Wiki Index  fails to list wikis for which guest has view permissions
Revert "XWIKI-11230: hasAccessLevel fails for guest"

This reverts commit 6ed38b47741a3cf4168c777b6c4f6f8da60f52d2.
[Misc] Use JUnit best practices
XWIKI-11230: User and Group resolver should handle guest user
XWIKI-11235: Use the sdoc XWikiContext property instead of hacking the content author when switching WYSIWYG editor tabs
XWIKI-11236: Bad handling of sdoc in DefaultContextualAuthorizationManager
XWIKI-11228: Hiding line number does not work in view source.
XWIKI-11050: Do not fail the UI when there's a problem rendering the document's content
- Renamed #displayUnexpectedException to #displayUnhandledException to avoid confusion and better express the intent of the macro
XWIKI-11236: Bad handling of sdoc in DefaultContextualAuthorizationManager
* add test
XWIKI-11207: The REST API allows to list wikis even when the wiki is protected