DNN-5943 - renamed IsWorkflowComplete to IsWorkflowCompleted, changed DiscardWorkflow/CompleteWorkflow to use StateTransaction, DiscardState can discar first state