Group functionality: group avatars, group updates (full support), group leaves

group functionality: 
• group avatar support 
• group update support (full comptibility iOS/android)
• group leave support
this code is unchanged but for the wrapper to not call it in the case the attachment is intended as an avatar.