XWIKI-8688: Add support for upgrading refactored XAR extensions
Various improvements and new tests