Fix issues with "Totals" section in QUnit Reporter

* Total # covered lines, and total # all lines were being incremented
incorrectly, resulting in incorrect totals
* Branch totals were not being calculated when branch tracking enabled