D.TwoD.Adjust: return transformation from adjustment functions

Also change adjustment functions to take a lens rather than a
getter/setter pair.
D.TwoD: fix export
D.TwoD: sort imports
Merge branch 'units' of github.com:diagrams/diagrams-lib into units