Add action manager transaction storage

This PR adds a transaction storage, a transaction registration. It also adds code which let's you trigger transactions through events.
Targets #322.
wtf are you talking about?