XWIKI-9309: Also search in attachments when type is DOCUMENT
* Improve the display of the attachment search facets
* Update the search UI after some of the attachment index fields have become multiValued.

(cherry picked from commit 441f5437851fabb07c85e02a72012502f9633c4e)