XWIKI-11507 : Integrate the ratings system from xwiki-contrib
* improve codestyle