Feature/events signals

Adds an event mechanism to leap.common using protobuf and socket rpcs.