api/v3/CaseType - Fix generation of 'definition' when handling multiple case-types
CRM-14726 - crmCaseType - Add simple <UL> listing of case-types
crmCaseType - Fix loading number-ish Javascript data

In Firefox, the initial loading of some fields (like max_instances) failed
because the HTML widget had type "number" but the Javascript data wasn't
strictly numeric (ie it had type "string" with numeric content).
Merge pull request #3379 from totten/master-casetype-ui

CRM-14726, etal - Updates to Case Type UI and API