stbt batch: summary report: List pass/fail/error counts per testcase

The code is ugly, but it works. I had initially tried to use
underscore.js's `_.groupBy` but I can't use underscore.js because of
https://github.com/asimihsan/tablequeryjs/issues/20