CRM-14475 Create basic CRUD API for CaseType

----------------------------------------
* CRM-14475: Create basic CRUD API for CaseType
  https://issues.civicrm.org/jira/browse/CRM-14475
--Tweak to condition to check create condition
Merge pull request #3192 from NileemaJadhav/CRM-14475

CRM-14475 Create basic CRUD API for CaseType