Some more comments fixes
Factor deadlock avoidance code into subroutine
PoC of batching with prepared statements

This calculates the estimated return size for each result set, which
makes no sense if we're describing the whole statement once at the
start. So it's inefficient, but works.
Cache statement describe results in SimpleQuery