"Abundant resources" with mods with loads of resources no longer crash

AI: choose policy branch at random between those with the least remaining policies

modding: rename "experience" with "XP" for unified naming

Move Spy tech steal modifiers to mod constants - By EmperorPinguin