Tidied title bar draw
Added /resource command
Show resource presence with /resource command
Use selected resource for sending messages
Added /resource autocompletion
Merge branch 'master' into resource
Changed ChatSession typedef
Merge branch 'master' into xep-0223