Don't rely on the tile.json request path for determining the tile path prefix.
Merge pull request #46 from LocalData/prefix-fix

Adjust how we compute the default tile path prefix