Streams sql results

Only works (tested on) MySQL. Other databases may require different setup to stream results.

Depends on "Reuse ForestReader implementation and fix to JSONReader" pull request for batch-java-runtime.
To run in javac, depends on "Adds calls to ForestReader.complete" pull request for batch-javac.