Optimise Moodle sync to be less DB-intensive
Optimise Moodle sync to be less DB-intensive

Removes the need to update each Moodle user regardless of whether
changes are required.
Removes the need to update users with information about whether the cron
has passed over them.

atoff/core,enlim/core,enlim/core,enlim/core,atoff/core