Incremental additions to measure tool (complete commit)

This completes https://github.com/fontforge/fontforge/pull/237