Groups avatarupdateleave pr

group functionality: 
• group avatar support 
• group update support (full comptibility iOS/android)
• group leave support
this transaction:transaction is very important and was a bug in the previous code @FredericJacobs