Add state ID and status classes for next / previous state
Add helpers that make use of state ordering
Add support for passing local variables to the render helper