[WIP] Add event-transaction mapping in action manager

This is WIP, but I like to read suggestions. It adds support for
mapping transactions on events (by name) inside the action manager.