XWIKI-10805: Expose XWikiDocument.translation() to the web API
[cleanup] Formatted documents using the new xar export format.
XWIKI-9567: Cannot restore document translations from recycle bin
- Not allowing to restore a translation if its main document is not restored or re-created before.
- Also displaying the document language for ease of use.
- Added tests.