Fix up brace position
Merge pull request #1594 from danzel/zoom-fixes

Fix touch zooming while zoom animation is playing. Fixes #1591 #1571
initial commit of #clearEventListeners
clearEventListeners -> clearAllListeners
fix jshint
simplify
Merge pull request #1599 from iirvine/clear-event-listeners

Events#clearAllListeners
refactor and simplify events code
more events code cleanup
major changelog update
fix tilelayer anim glitch, close #1548
add resize event, close #1564
fix lots of maxBounds issues, close #1491, close #1475, close #1194, close #900, #1333
don't remove layer grom a group if it doesn't belong to it, close #1383
bring autopanstart event back, close #1375
don't animate if zoom difference is too large, close #1377

also adds zoomAnimationThreshold map option (defaults to 4)
cleanup draggable
more draggable cleanup
fix fitBounds for large bounds, close #1069, thanks to @MaZderMind
add Util.invokeEach for hash arguments in event methods