XWIKI-8752: Add support for space and document ComponentManager namespaces
* fix tests