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 plugins

Conflicts:
	src/command/command.c
	src/command/commands.c
	src/ui/titlebar.c