Groups avatarupdateleave pr

group functionality: 
• group avatar support 
• group update support (full comptibility iOS/android)
• group leave support
is there a cleaner way to do this @FredericJacobs ?