added test to save xml file, CRM-14476

----------------------------------------
* CRM-14476: Extend CaseType API to return/save XML
  https://issues.civicrm.org/jira/browse/CRM-14476