Increase join timeout, fix slot availability

Fixes #373, fixes #372.
Store history of user presence in events/sessions
Tolerate events without a history property
Manually restore timers
Merge branch 'event-history' into test-consistency
Switch to one-shot mocha