Support opening mbtiles in SQLite3 read-only mode.

Pass `ro=true` as a query parameter in the mbtiles uri.

eg. mbtiles:///path/to/some.mbtiles?ro=true