Added support for creating an mbtile file from an ArcGIS server-generated image cache

AGS caches use a different tiling scheme, so added that as a scheme option. One directional for now, added exception handling and debug logging to go with it.