a few more fixes

correct faction calculations at turn's end to account for mind control.

use the correct check for the "researched" flag when excluding items from
base defenses

count UNresearched items as artifacts, not researched ones, and count
corpses regardless