Add GetAverageItemLevel function. Thanks TrinityCore for a descent version, but it wasnt good enough for me.