XWIKI-8744: Introduce per wiki distribution status
* make various script service methods take into account the current wiki