Get workflow statuses

Added ability for transistion to find all possible statuses in a workflow.
Usefule for when editing a workflow.