WIP: ActionEvents filter

Requesting comments, especially on tests.  This branch includes some commits which are waiting on PR 140 and 141 to land, but the API should not change.

I'm not positive this exercises all possible cases; I'm also planning to add a 1-2 second delay in the event consumer loop so we can test adding actions midflight.

All input welcome!
fwiw nextAction() would just be:

    if len(f.actionIds) > 0 {
        return &hook.Info{Kind: hook.Action, ActionId: f.actionIds[0]}
    }
    return nil

and sentAction could just be:

    f.actionIds = f.actionIds[1:]
    if len(f.actionIds) == 0 {
        f.outActions = f.outActionsOn
    }

...and I think actionsChanged would itself be simpler too.