CRM-14789 - CaseType.delete - Generate error

Generate error if there's an existing case which depends on the case-type.