Add csv output format

Convenient format for importing into other applications and for using
with shell scripts

Also fix a minor typo
Also, that last unconditional comma might brake various CSV parsers, unless I am terribly mistaken.