Replace action containers with less error-prone helper
Use a vector instead of an array for the action data. Iterate over the
action data using standard iteration instead of looping until NumPageActions
which is defined elsewhere. Use the action names instead of some enum for
addressing specific actions.
- GnuPG-bug-id: T5688