Rework of units

See https://github.com/diagrams/diagrams-core/pull/59 .

Things remaining to do:

* Make arrow head size, etc. use `GTAttribute` (so far I only changed line width)
* take duplicated Local transformation code out of specific attributes and make a single `Transformable` instance for `Measure`