Allow pointer-events to be set via options passed to shape
store the event listeners using a hash if the context have a leaflet_id.

When removing a layer,the slowest part was to remove the event from the map.  For each event, the removeEventListener method had to loop the whole list.  With thousand of layers, it become very slow to do.  With a hash used has an index to find event listeners for a given leaflet id, its no more an issue.
Path CANVAS adds a click event if clickable but do not clear it on remove.  This adds the necessary remove listener.
use a property for index length because its slow to get the first property or get the length of a hash.
code convention
fix undefined error use cases
Fixes #1041, Android WebView triggers two clicks at once. This calls
L.DomEvent.stop(event) on the second if two clicks are triggered within 400ms
of each other. Double click is unaffected however.

There are other workarounds that focus on _fireMouseEvent(), however I had to
resolve it at the click event level as my map, markers, controls, were all
affected.
This makes sure we only do the Android duplicate click workaround on Android
This modifies the Android WebView phantom click workaround.
Previously it was blocking when an element had multiple click listeners
because those events were fired rapidly. Since Android fires its second
click at approximately 300ms after the first we do a check to make sure
that at least 100ms has elapsed but not more than 400ms.
testacular port
Handle arrays of feature collections
Simplify features check
Trying to fix whitespace
whitespace again
whitespace fix?
Revert "whitespace fix?"

This reverts commit 9856a66864f115297a21b42e50e31da7da9cc065.
improve zoom control design (refining @jacobtoye's work)
rename top/bottom to first/last in control classes, thanks @yohanboniface
condition on one line
Merge pull request #1299 from snkashis/fix_feat_collects

Handle arrays of feature collections, #1298