add support for result rows as arrays

- generalized & simplified the row construction in the native bindings
- added `fields` metadata to result object
- added support for rows to be returned as arrays both from the `row` event and on the result object.  to enable pass `rowMode: 'array'` to the query config