Added TileJSON data caching.
Fixes for #4 and #5.