XWIKI-9516: Create a new Wiki API that replaces xwiki-platform-wiki-mana...

...ger and xwiki-platform-workspace.

* Bug fix: XWiki.XWikiPreferences was not copied from template