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.
Don't print enter function in fsm debug output

Most of the time it's just compiled byte code anyway.