Ensure tkWorker.contactsDb.add is stubbed, and add tests for adding contacts
Set long polling timeouts as resolved when they timeout under normal conditions, to avoid messages getting lost.
Add some trace debug for server-side debugging of message flows via long polling
Better location to stub tkWorker.contactsDb.add
Merge pull request #385 from Standard8/frontend_inter_fail

Ensure tkWorker.contactsDb.add is stubbed, and add tests for ensuring we add contacts at the right time
Improve logging trace messages with use of better api
Add some comments explaining the code and tests a bit more
Rename User.pending to User._pending to clarify that it is a private attribute
Merge pull request #386 from Standard8/inter_fix

Ensure long polling doesn't drop events at the end of the long polling cycle, r=@dmose