XYZLayer: adjusted to tilecache scheme

Now the URL is constructed completely to something
like 05/000/013/036/000/000/040.png if the coordinate
is x=13036 and y=40. So it is slashified if we get
numbers greater than 999.