Refine replica settings
Use new MongoDB 2.4+ setOnInsert feature and use single field to track message status