Bug 1046236 — Log call state modification with the websocket.

https://bugzilla.mozilla.org/show_bug.cgi?id=1046236
Based on #185.
Agreed, best not to add db queries mid-setup for stats.