initial commit
fix #hasEventListeners, add leaflet's debug examples