workflows: holdingpen details page improvements

* Adds 2 new stages for workflow objects error and waiting.

* Better display of workflow definition.

* Display of completed tasks.
Let's try to use something like http://timeago.yarp.com/ on the JS side instead so that we can replace this block with direct mapping in the template instead.