Validation for KPKAttribute key uses the specialized implementation, not the general call
Added validation for window title in auto type associations
Added error codes for validation errors