[CDAP-868] Moved getWorkflowStatus to ProgramHelper