XWIKI-8687: Allow the user to specify the previously installed UI when upgrading from very old versions
* Auto-complete the previous UI id based on the selected version (allowing the user to change it).
(cherry picked from commit 527afeb413abfb0103b990b1d9e9f874e9aabf7c)