Move the core of OpenRA.Mods.RA.Scripting to OpenRA.Mods.Common.Scripting

Depends on #6750 for moving `OpenRA.Mods.Common\Scripting\Properties\UpgradeProperties.cs`.