XWIKI-8944: Use the bridge to the new security authorization component as the default RightService

 - Fix a serious flaw in group handling by the test framework (a full rewrite using references would be a must have)
 - Improve testing further