Refactored BindingAndValidationSummary into a hierarchy of case classes to
allow for nice pattern matching.  Added apply method for validation
summary.