Read contents from trec collections and store them in a MongoDB database

So far finish the wt2g part. All the DOCHDR and document contents are
compressed by gzip. A config file and a path file are necessary for the
program.