Minor - fixing PHP warnings.
Groups changes see BT#7156

Adding event_system (important activities) in group class add/delete/user_subscribe/user_unsubscribe,
adding 'allow_members_leave_group' option, require DB change
if the column does not exists the option returns 1 (users can leave groups default behaviour).