Groups avatarupdateleave pr

group functionality: 
• group avatar support 
• group update support (full comptibility iOS/android)
• group leave support
there is now a special type of attachment that is an "avatar of a group id". this helps keep track of what to do with it once it is finished uploading without having to change @FredericJacobs's upload call.