XWIKI-8687: Allow the user to specify the previously installed UI when upgrading from very old versions
* A first version.
(cherry picked from commit 6d3399ad8de41d39b4c2630d1d72957a6d87e62e)