Add a presence widget for contacts of client.
Move a few functions around to make testing easier.
Fix parsing NOTIFY events (status is leading over state).
Refactor getPlatformUrl().
Remove setContactsRefreshTimer because a refresh option exists.
Fixup syntax error