Use the global app.data.user model for user information, not what comes in messages from the server; and listen to talkilla.login-success from the worker.
Remove the previous work arounds for getting user id from the call messages, replacing it with the nick from the app.data.user set.
updated chat window layout and related view event listeners
ignored call notification
Merge pull request #119 from Standard8/improve_chat_window_id_handling

Improve chat window user id handling
sync with master
added new PENDING_CALL_TIMEOUT app config setting
added jsdoc
Server: fix the websocket api
SidebarApp: send a talkilla.sidebar-ready event to the worker
Refactor a lot of duplicated code in the worker tests
Worker: implement a tryPresenceSocket method

This method try to attach a websocket with the provided information, if it
fails, then it means the login expired.
Worker: try to attach a websocket when receiving the talkilla.sidebar-ready event
Worker: fix the tests
Worker: implement a _setUserProfile method
Worker: re-attach the websocket
SidebarApp: use a cookie for persistant login
Server: do not logout people that comes offline
SidebarApp: do not logout when leaving the page
Fix tests