mongo-dump: Add --slave-ok and --master-sync options.
mongo-dump: Add --slave-ok and --master-sync options.

With --slave-ok directly connecting to a slave is acceptable (and the
appropriate flags will be set). With --master-sync, we'll try to
reconnect to the master node upon startup.

algernon/libmongo-client,algernon/libmongo-client,algernon/libmongo-client