Merge pull request #644 from Kinematics/4.1-dev

Rewrite of refresh_group_info() so that it doesn't lose the subtable ...
GearSwap - pet_gain event

Currently fires twice when you gain a pet.