Fixes to get Factions working again.
Upgrades can now be team and class-dependent.