Added sql.nextarray.

Merkat on the forums had asked about a way to do this, and I've also found it difficult to manage without a way to read from cursors with unknown column counts.  This patch would provide that.