Add "error" attribute to testcase element in JUnit reporter

If test result is `"error"` we are now adding new xml element to testcase element in JUnit reporter. Name of the element is `"error"` and `type` attribute is `"Error"`.