Added caching of legacy capabilities
Only overwrite preferences with theme when them loaded, not on startup
Colour /me messages correctly

fixes #457
Automatically add/remove '/' when adding and removing aliases
Fixed spelling in themes
Fixed /me messages in chat room history
Added ctrl-w support (with debug)
Added ifdef to _show_privacy() function
Removed debug
Updated navigation help
Fixed closing window 0
Tidied title bar draw
Added /resource command
Show resource presence with /resource command
Use selected resource for sending messages
Added /resource autocompletion
Updated theme
Changed ChatSession typedef
Added union for window types
Added form to WIN_MUC_CONFIG type