XWIKI-9373: Extend HqlQueryExecutor to use setParameterList for list type parameters passed with bindValue

(cherry picked from commit b0575979d7a8e3f6cfea900aac09e781ffc92f08)
XWIKI-10286: XWiki#exists returns false for document translations

(cherry picked from commit e1feea0f1c1cc92871392f30c28bcfceff18c20b)