Create the basic workflow structure
Create all needed modules (workflow, step, tasks, comments) and a basic method to create a new workflow based on a JSON post. Document relationships are still not working.
Create relationships and save workflow/new from post
Create relationships between models by making them Arrays of Schema.ObjectIds.
Post to workflow/new with a valid JSON will create a new workflow and its children (steps and tasks).
Create the get APIs
All models are accessible through the API and reverse relationships (i.e. the task know to what step it belongs to) were created to reduce the number of requests to mongo.
Remove a leftover method on tasks controller
Create the set (post) method to workflows
Remove a console.log leftover
Create the set (post) method for steps
Remove a leftover console.log (damn!)
Add the owner to the step set method
Create the set (post) method to tasks
Handle error when a valid but non-existent ID is provided
Tide up routes for users and login/logout
Create the workflow delete method
Create the step delete method
Create the task delete method
Fix bug where a workflow with no steps or tasks wouldn't save
New workflow method creates a workflow only
Previously it was creating a workflow and its children, but this will be moved to a service in the future.
Finish basic API for workflow, step and task
Add the comments get, set and delete
Create the workflow type