CRM-14399 add alterCalculatedMembershipStatus hook