Bug 1046236 — Log call state modification with the websocket.

https://bugzilla.mozilla.org/show_bug.cgi?id=1046236
Based on #185.
I don't think we want to add a db query here if that's only for stats, and if that's possible to get these informations in a different way.