Color coded diffs in the test results

The reporting format for tests makes it pretty difficult to figure out what's gone wrong in the test failure.

This PR added colour-coded diffs to give you a much better idea of what the difference between the marked output and the original html is.