Move equip code to BackpackHelper

Also IBackpack onEquip and onUnequip now takes an EntityLivingBase
instead of EntityPlayer.