XWIKI-11581: Unable to set as owner a local user given as local string reference in the Wiki API
- Using a DocumentReferenceResolver to resolve the ownerId field.
- Addapted tests to reflect this.