Add event registration

#2353 

A naive implementation of registration. @Ferdi , can you share an example of how you want it exactly to work.

![screenshot_5_7_13_1_45_pm-2](https://f.cloud.github.com/assets/125707/470788/340a90f6-b703-11e2-80d3-ea3b40fb1799.jpg)