Working on issue #1729. Refactoring Entity Loyalty to LoyaltyProgram and
setting up hooks to accrue loyalty points