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