Merge pull request #402 from hmaon/vol_master

Vol's commits, rebased to get rid of merge messages
fix for unconscious unit tampering

don't change their position just because we click on them, change it when
we move it to/from the soldier in question
that was the wrong place for that.
better fix for multiple popups

the previous fix was causing martian solution and cydonia or bust research
to not become available under certain circumstances. this ditches the previous
set of ifs and shaky comparisons in favour of storing a vector of "popped"
research and using that for comparison instead.
CONTROLS PART 1 (Geoscape)
- Various UI fixes.
- Removed initial NOTE screen (not needed anymore).
- Added "battleAutoEnd" option that automatically ends the turn when the battle is over.
fix for weapons on mars
Bad cursor, stop running away from home.
correct animations for sectopod weapon
calculate FOV at the start of the "next stage" of a mission
don't try to open doors when moving vertically.
wat
patrol code based on Ufopaedia data

see http://www.ufopaedia.org/index.php?title=ROUTES.DAT
"flags" now used to direct aliens other than scouts
seems to work great in UFOs but not in Final Assault (commanders roam whole
base)