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
Merge pull request #3323 from kurund/CRM-14476

added test to save xml file, CRM-14476