Merge branch 'master' into feature-localization
XWIKI-8390: RegexEntityReference does not properly matched entity parent
XWIKI-8309: Finish new localization module
XWIKI-8261: Allow registering translations dynamically using an object marker
* various bugfixes
* add tests
XWIKI-8390: RegexEntityReference does not properly matched entity parent
(cherry picked from commit b67469dbf1c5e588d3ced0f7636018785f2d7e71)
XWIKI-8309: Finish new localization module
* make it more clean that XWikiDocument "language" is actually a locale
XWIKI-8309: Finish new localization module
Fix deprecation
XWIKI-8261: Allow registering translations dynamically using an object marker
Crate/update the class at startup
XWIKI-8309: Finish new localization module
XWIKI-8261: Allow registering translations dynamically using an object marker
Apply codestyle
XWIKI-7139: Changing password form fills the current password field
Fixed.
XWIKI-7112: Fields in Registration filled by browser if already has some value remembered
Fixed.
[misc] Removed unused imports
Merge branch 'master' into feature-localization
Apply codestyle
XWIKI-8261: Allow registering translations dynamically using an object marker
* add translation author right checking
* deprecated more String based locale APIs
XWIKI-8309: Finish new localization module
* move String based language API to Locale
[misc] Fixed conted dirty flag.
XWIKI-8309: Finish new localization module
XWIKI-8261: Allow registering translations dynamically using an object marker
Apply codestyle
[misc] Allow the "autocomplete" attribute to be present in XHTML documents
Although it is not a valid XHTML1 Strict attribute, it has been around for a very long time, it is part of HTML5, and we kind of need it for fixing a few usability issues.
Revert "[misc] Fixed conted dirty flag."

This reverts commit 2fb3eca1dac593751165d1d521218ad799ab2649.
XWIKI-8398: Content dirty flag isn't cleared when document is loaded