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.
I had enough of a break today as I was unable to progress any further with my tasks.