AMD support

AMD support as described on https://github.com/Leaflet/Leaflet/blob/master/PLUGIN-GUIDE.md#module-loaders