BA: fix turtling zigzags and advanced factory build

- create formula for turtle organ priority
- quasidefense count as organs too (so for example radar towers will get
more defense)
- fix advanced factory not being built again after one is destroyed
- fix excessive base defense to mex zigzagging in turtlehandler
(distance mult too high)
- only build quasidefense (radar, sonar, jammer, etc) at already
defended turtles