XWIKI-8744: Introduce per wiki distribution status
* take upgrade mode into account when preparing extension.outdatedextensions step