Added workflow functions

Added readWorkflowSettings($id) and editWorkflowSettings($workflowSettings, $applyInheritWorkflowsToChildren, $applyRequireWorkflowToChildren)