Prevent delete cascade from case_type to case

CRM-14473: Migrate case-types from OptionGroup to new table
Merge pull request #3124 from adamwight/CRM-14473-setnull

Prevent delete cascade from case_type to case