registration: Add support for $wgGrantPermissions & $wgGrantPermissionGroups