Change HCTestFailureHandler from protocol to base class.

Copy-paste-detected code now DRY