XWIKI-9670: Rewrite wikimanager REST API based on new wiki APIs.