Set UI gauge upper value

Allow an upper value to be set for gauges, so the value range can be 0-N instead of 0-1. Makes it much easier to bind property values like `usedCargo` from #2552, which can have a large range of values.