XWIKI-9257: Add Locale support to document exist API taking DocumentReference