CRM-11682 - Draft of checkGroupType and unit-test
CRM-11682 - Update checkGroupType() to support sub-type checking
CRM-11682 - Update HTML contract for 'crm-profile-selector' to accept <INPUT> elements with attributes "data-group-type" (to filter the list of groups) and "data-entities" (to determine which entities to dislay in the palette).