db replication: working for textdb_wrapper and mongodb_wrapper.  created db.accept_replicated_batch() to handle decompressing POST data and putting to db.