Set default XMPP message type to 'chat'.

This enables sending messages to partychat-like services (e.g. im.partych.at).
This commit also fixes handling of 'to' argument for non-chatroom recipients.
Merge pull request #3659 from neuroid/jabber-chat-fix

Set default XMPP message type to 'chat'.