XWIKI-9201: Solr admin UI should take XWQL and not HQL
* Add the ability to choose between XWQL and HQL.
* Restrict the custom query to PR users.
(cherry picked from commit b6bdc23aa8c1b7549f384767fa938070770716a0)