cf-dc-api.pl: add regenerate_index command and cf-sketch.pl --make_cfsketches option