[cleanup] Updated documents to the new xar format.

(cherry picked from commit df76ca8b1fbff2981b202fd75929e7379c2bdef7)
XWIKI-11238: Space name cleanup: not for the data space, but only for the code space
XWIKI-11237: Cannot create an application with ^ in the name

* Properly clean up the code space name and class name, while leaving the data space the way the user entered it.
** Also displaying the class title in the class edit sheet instead of displaying its class name. More user friendly that way.
** This means that an application name of "a^b" or "a b" or "a^b^" will all point to a code space/class name of "ab". The UI informs the user when the name is already taken. This should have a negligible impact on users with regard to limitting the available names for their application.
** Another side-efect of this is that it is harder to tell which is the data space of an application when all you have is the application's class or code space. This is because the class name (or code space name) are very likely to be diferent from the data space (due to the cleanup). One workaround is to use the title of the class document, so this should be enough for now since we have no real use case yet for this functionality.
* Fixed escaping issues with passing values along the class creation wizard (class parent) and when deleting a wiki with special characters in its name.

(cherry picked from commit b22b64d6be298c6d1847e0344ffe3b49ea8565a7)