workflows: task result templates

Adds templated task results for use in Holding Pen.

Before:
![Image]
(https://www.dropbox.com/s/0sryglpxpesfnh9/Selection_002.png?dl=1)
After:
![Image]
(https://www.dropbox.com/s/pfgo4fl8kltgv78/Selection_001.png?dl=1)

Also adds better documentation and other fixes.
1: D400 First line should end with '.', not 's'
40: D101 Docstring missing
44: D102 Docstring missing
93: D102 Docstring missing
98: D102 Docstring missing
135:81: E203 whitespace before ','
136:33: E128 continuation line under-indented for visual indent