Set default XMPP message type to 'chat'.

This enables sending messages to partychat-like services (e.g. [im.partych.at] [1]).
This commit also fixes handling of 'to' argument for non-chatroom recipients.

[1]: http://partychapp.appspot.com/