Initial commit from mac
bug fixed in MongoDumper and added uniqueness checking.