Add csv output format.
Merge pull request #14 from bemasher/csv

Add csv logging format. Closes #13