Add event registry and event bridges

Add event registry and event bridges to control communication between
the app (angular) and the iframe editor (jquery)