XWIKI-11570: Add getCurrentWikiDescriptor() method to the wiki API to be consistent with the existing getCurrentWikiId() method
- Added both component and script service API methods.