fix for persistent mind control due to panic.
less hardcoding, more ruleset flexibility.

oh yeah, and modding possibilities for grenade launcher type behaviour.
this is totally not me trying to sneak in features i want for my mod :P
small fix for some panic related bugs
reduce lag in pathfinding

remove calls to yaml in pathfinding, instead, store the value in question
as a member of the savedbattlegame, and read that.