fixes to create api, CRM-14725

----------------------------------------
* CRM-14725: Edit Case Type - Use AJAX load/save
  https://issues.civicrm.org/jira/browse/CRM-14725
Merge pull request #3375 from kurund/CRM-14725

fixes to create api, CRM-14725