models/test_failure_details library

Structured failure information shared by execution and report models.