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.

* Move the computation of alias suffix from request URL from java (server-side) to javascript (client-side). This should never have been in DefaultWikiConfiguration.