Add type="chat" to chatstate notifications.

This improves interoperability with the client Profanity.

Comparing what Pidgin sends to what jabber.el did, the
difference was that Pidgin includes an id- and a type attribute.

Adding just the 'type' was enough to make Profanity recognize
the notifications sent by jabber.el.