Groups avatarupdateleave pr

group functionality: 
• group avatar support 
• group update support (full comptibility iOS/android)
• group leave support
I'm looking at this code now... and I think I might have done something incorrect with this line. I will update as needed.