Add new events for fail conditions

Custom reporting tools, such as my JUnit XML tool, need to know when a test completely fails, so they can output a generic failure report.