Fixed invulnerable infantry

Closes #6263
Fix a bad merge in UpgradeRules.cs
Refactor more power and infiltration stuff. Create new power sabotage ability for spies in ra and ts.
Have AI account for power outages