XWIKI-9502: The ComponentManager associated to the wiki is not disposed when the wiki is deleted
XWIKI-9504: The ComponentManager associated to the document is not disposed when the document is deleted
* fix regression