start updating to Leaflet master (0.8-dev): fix errors