Add EventHandler builder.
Merge stateless template builder API to EventHandlerTemplate.
Add some tests.