XWIKI-8744: Introduce per wiki distribution status
* Update distribution.js after the id of the first step has changed.
* Fix a small issue in extension.js
* Fix deprecated calls to $msg.get() and apply code style.
* Start working on getting the available versions from EM instead of hardcoding them (when repairing the UI).