Add support for CSV report format.

- Also changed the way that reports are printed from pprint to
  println. Report formatting is now up to the reporting function,
  which is probably not optimal. But neither is pprint.