XWIKI-11464: Cannot use the security script service to check rights at wiki level
* Add support for resolving wiki references (just to be able to write clean code when resolving entity references of any type).