Add more clearity to tests run by the w3c suite

Pages where script errors occur will now result in a failed test and
successful assertions will also be counted.