Colour connected account in "/account list" according ot presence
Show available resources for current account with "/account"
Only show resources for connected account
Remove all from resource hash table, rather than destroy
Commented self presence handling #151
Merge remote-tracking branch 'upstream/master'
Revert "Commented self presence handling #151"

This reverts commit 872726c5aa2bad5ff9f49fa7b8d0a55f6603cb26.
Add resource only when resourcepart in JID #152
Check for resource in unavailable presence handler
Added debug to connection handler
Made connection free resources static function
Split connection_free_resources
Replace FREE_SET_NULLs with function call
Removed connection_shutdown function
Init and shutdown of libstrophe moved, free resources before creating
Check for NULL connection and context

fixes #155
Added /clear command to clear current window
Debug alt-backspace
Added alt-backspace support
Added alt-backspace key code for ubuntu