Ruledit: Add unit build cost editing support
Make it possible to edit also unit's build cost.
- New S3_0 version with function header format changed to match the branch
Make it possible to edit also unit's build cost.