Make call hangup work again by making sure we store the callid when receiving a call
Extend functional tests to check the chat window has been closed
Fix review comments
Merge pull request #296 from Standard8/call_hangup_fix

Fix call hangup