autodetect bounds for MBTiles

using the Mercator transform to convert the row number into an angle. We use the top of northern row and bottom of southern row at the maximum zoom factor available.