Code Refactor & Permit display bug

Refactored code to remove some jshint warnings
Fixed bug where the selected permits where incorrectly displayed when
moving from the heat map to where permit locations are displayed.
Add Measurement tool

Add measurement tool with distance set to miles.
Need to modify click events to ignore the events that activate when
counties are clicked.