Invitations to chat channels rejected

Error text added to error packets
Contacts in general friends packet now have avatar id
following the coding standard a little better