Fixing URL template issue #2695

Calling `L.TileLayer`'s `getTileUrl` to replace all template keys, which includes custom keys in layer's options.