CRM-16867 add function to determin combination of membership types in a priceset