fixed gravity on flipped car
made AI check switch before crossing
prevent switch change if occupied by train
made AI stop if path occupied by player train
git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@116 a9f3cfff-6c41-7446-b0ca-052bd761e6eb