Changes the formatting of ".scanstats on" in the shell so that the stats for
subqueries are grouped together and occur after the main query.
On the ".scanstats on" output in the shell, initialize the estimated count for
the first loop of each subquery to the actual loop count.
Further improvements to the ".scanstats on" display in the shell.  Be sure
to show the results of all subqueries even if there are gaps in the 
SELECTID values.  Add ".scanstats" to the ".help" output.