XWIKI-8744: Introduce per wiki distribution status
XWIKI-8744: Introduce per wiki distribution status
XWIKI-8744: Introduce per wiki distribution status
XWIKI-8744: Introduce per wiki distribution status
XWIKI-8744: Introduce per wiki distribution status
Merge branch 'master' into feature-distributionwikimode

Conflicts:
	xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-distribution/src/main/java/org/xwiki/extension/distribution/internal/job/DistributionJob.java
Add tests
XWIKI-8744: Introduce per wiki distribution status
XWIKI-8744: Introduce per wiki distribution status
XWIKI-8744: Introduce per wiki distribution status
* refactoring distribution template
XWIKI-8744: Introduce per wiki distribution status
* refactoring distribution template
XWIKI-8744: Introduce per wiki distribution status
* refactoring distribution template
[misc] fixed tests
XWIKI-8938: Translated title is overwritten by the default translation title when editing a document section
* Don't set/change the title when saving a document section.
* Add a few comments.
* Apply code formatting.
XWIKI-8902: Distribution status previous distribution extension and previous distribution extension UI are never set
* should not rename field used to serialize the status
XWIKI-8938: Translated title is overwritten by the default translation title when editing a document section
* Add method to set the list of supported languages.
* Fix the name of the method that sets the default language.
XWIKI-8931 and XWIKI-8933: Support global user in local group in the new security authorization module, Support group nesting in the new security authorization module

 - fix unit tests and a minor bug
* add support for removing elements in the security test framework
* various mocking improvements
* introduce addUser/addGroup/addDocument/notifyDocumentModified helpers
XWIKI-8931 and XWIKI-8933: Use Mockito for tests