Enforce one-line JSON in cfsketches.json

Under some circumstances the JSON output in cfsketches.json was produced
in pretty-printed form (multi-line and indented), which broke things. We
now explicitly set the format to one-line before writing it.
Split Sketchifier class

Split the Sketchifier class into its own file and improve the query_spec
data structure.
Improved confirmation screen

Parameters are now pretty-printed.
Fixed namespace insertion and sketch merging

Namespace insertion was not working properly. Also moved merging of data
into the new sketch structure to right before writing the files, so that
they would be correct if the user makes any changes in the confirmation
screen.