Fix Leaflet TileLayer.WMS definition

L.TileLayer.WMS cannot be instanciated with required parameters because of incomplete constructor. 
Also WMS class is originally derived from TileLayer class, so that's fixed. The same for Canvas class.