BA: localize defenders to ground/air/submerged
- filter defenders by mtype and what they can hurt, and give all defendees different priorities for ground, air, and submerged.
- rename RunFromAttackBehaviour to WardBehaviour
- change vehicle mtype test-unit to armllt b/c it gives more accurate results
- rename "defendee" to "ward" ("defendee" is too similar to "defender")
- add a few minor speedups to functions that take unitName and return static data
replace runfromattack.lua with wardbehaviour.lua
BA: fix few defender and factory issues
- return defenders to their ward after they've stopped and aren't near threats anymore
- fix outmoding factories when only one mtype is outmoded
- fix bug when nothing to defend
BA: extend battle front finder
- use the front as a starting point for attack cogregation
- find two or three troubling cells for water and land. only be one front each, but two or three for modifying the priority of mobile wards
- test all wards including mobile for distance from threats, to determine priorities
Merge remote-tracking branch 'upstream/master'
Merge pull request #49 from zoggop/master

BA: improve defending