Greatly improved selection of polygons on map

Polygons are now primarily selected by border.  The highlight effect is
still present from hover and selection, but now should not interfere with
selecting other polygon features.
Only do intersection calculation if last layer is polygon
Merge pull request #146 from benjwadams/improved_polygon_selection

Greatly improved selection of polygons on map