Added measurement tool

Refactored popover stuff to _PopoverMixin.

Closes #148
Merge pull request #171 from agrc/measure

Added measurement tool