Give context a proper class
Expose action ordering to plugins.
No longer need yaml magic to keep dicts ordered.