Added Chaos resistance to tResist. Also refactored the addResistances
and addEDMG functions so that the resistTypes and the damageTypes are
only generated once and can be looped over easier.