Top level CGI script for building collections. Nearly identical to index-server.pl. Need to choose between the two, and merge.