Leaflet: Fix the L.tileLayer function typing

The current version was being rejected by Typescript 1.0. The new typing
follows the advice from the Handbook.
Merge pull request #2053 from abustany/fix-leaflet-tilelayer

Leaflet: Fix the L.tileLayer function typing