XWIKI-10181: Wrong server name set when a Wiki is created with a domain name setup.
XWIKI-10185: Add a script service to know if path mode is enabled and what is the default alias suffix.

* Fix both.