Simple, hierarchical action-test-action queue written in php