(bug 38151) Implement mw.user.getRights and getGroups