Made measure tools closeable
I have made the measure tools closeable, and fixed the bugs that would
occur when they were closed and their events would hang on.
We may want this to be a configuration option. refs: geomoose/geomoose#13