Added ability for Validation classes to add a 'response_class' attribute to a bundle, to determine the response type generated by the validation error.