Revert "units.js: Generate unit-based functions dynamically"
Revert "units.js: Generate unit-based functions dynamically"

This reverts commit 07dd1f9b3d506a2121c2dc37a4f64b4ea3171b98.

Apparently this does not work since the generated functions all have
unit_type == 'altitude' ...

RBE-Avionik/skylines,kerel-fs/skylines,Harry-R/skylines,skylines-project/skylines,TobiasLohner/SkyLines,Turbo87/skylines,shadowoneau/skylines,Harry-R/skylines,kerel-fs/skylines,snip/skylines,TobiasLohner/SkyLines,skylines-project/skylines,kerel-fs/skylines,dkm/skylines,snip/skylines,shadowoneau/skylines,TobiasLohner/SkyLines,Turbo87/skylines,skylines-project/skylines,RBE-Avionik/skylines,Turbo87/skylines,RBE-Avionik/skylines,RBE-Avionik/skylines,dkm/skylines,Harry-R/skylines,skylines-project/skylines,shadowoneau/skylines,dkm/skylines,dkm/skylines,shadowoneau/skylines,Turbo87/skylines,Harry-R/skylines,snip/skylines