Automatically detect what code blocks output in weave.
Update for ArgParse and DataFrames changes.
The '.img' tag is no longer needed for code blocks that produce images.