Add csv output format

Convenient format for importing into other applications and for using
with shell scripts

Also fix a minor typo
your comments are correct, both about the extra space and the final uncoditional comma, but I had no problems importing the output out the template in LibreOffice and parsing it with awk. These 2 tests were more than fine for my needs. If there is a better way to handle the final uncoditional comma, please amend the commit.