Added the call_lock and call_unlock events for #119
Also cleaned the notifications and added peer_state events.