Sql.mysql: Fixed API for list_{dbs,tables}(). The low-level implementations of these function return Result objects, so they need to be converted to arrays to comply with the standard API.