XWIKI-9420: Generate a unique instance id
* Ensure that we perfom DB operations on the main wiki only!
XWIKI-9401: Measure active XWiki installations
* More flexible server-side API to retrieve active installs + removed unnecessary configuration option as a result