I would exclude unit specific upgrades like elite skirmisher or paladin and only do things like bloodline and ballistics.So Paladin upgrade for 0 gold?
It would still be a powerful bonus maybe on the line of Vietnamese or Chinese tech discounts.
Also it would have almost no impact on the UU since the only discount would be 50 gold on bloodlines.