MDLSITE-320 digest processing should be able to continue without duplicates if fails; merged from MOODLE_19_STABLE
MDLSITE-320 digest processing should be able to continue without duplicates if fails; merged from MOODLE_19_STABLE

dilawar/moodle