diff: add --stat for diffstat output
diff/qdiff --stat invokes patch.diffstat() on the diff output.
When in interactive mode, the output's maximum width is determined by the
terminal's width.
adding baradding foo% state dump aftern 666 -1 barn 666 -1 foo% status! bar? bazC foo