add enumeration of actions

 - use namedtuple to get both
   - Action.foo (attribute syntax)
   - 'foo' in Action (contains check)