Leaflet2 compatibility
This also contains additional bugfixes - sorry to not separate them out but I had to maintain my own fork for a while.
In addition to Leaflet2 compatibility, this fixes the tokens not rendering issue, fixes code typos that break the name and description fields, and handles iconUrl and shadowUrl absolute URLs.