api/v3/Generic - Cleanup
CRM-14478 - Allow components and hooks to influence refcounts
CRM-14478 - Count references to activity-types and relationship-types in CiviCase XML