CRM-14798 - Allow editing case-type names even if malformed

This is a follow-up to #3820
Merge pull request #3823 from totten/master-casetype-badnames2

CRM-14798 - Allow editing case-type names even if malformed