XWIKI-11507 : Integrate the ratings system from xwiki-contrib
* cleanup and refactoring of the UI to fix dependencies logic