Formtools record actions

This PR adds support for record action that allow custom actions on a record level. e.g. sending a welcome email to a member.

@smebberson This PR is ready for review.