Move battle-tracking events into Battle class

This allows the AI for a battler to easily track actions taken on any
unit in the battle, rather than just itself.  Also, added unitDamaged
and unitHealed events.