XWIKI-10399: REST module should not depend on Lucene plugin
* Fix hint for lucene search resource
* Fix the query parameter passed to the search resource.