Patrol AI made to resemble xcom1 + AI tweaks that mysteriously vanished

Units now patrol to random node on map (respecting scout bit). This is correct
xcom1 behavior according to Volutar.

Additionally, units won't choose their fromNode as a destination. This should
perhaps be expanded.

Also units shouldn't patrol into fire.

Also also, there is a fix for the final turn after a walk state resulting from cover AI.