Autodetect minzoom, maxzoom and format for mbtiles

* `format` is detected via JPEG's magic number `FFD8`
* `minzoom` and `maxzoom` are `min(zoom_level)` and `max(zoom_level)`
Merge pull request #34 from Fil/patch-2

Autodetect minzoom, maxzoom and format for mbtiles