Implement targeting support for AI units

Also fixed Protective Aura - it was set to target the enemy by default!
Oops.