Fix asari_find trying to call `to_i` on array results instead of first member

Result of `asari_find` is a collection of Arrays whose first member
is the actual "id"

["id", fields]

`to_i` must be called on `result[0]`.

To avoid compatibility breaks it also discriminate current API version
before to decide how to convert result ids.