Rework the DEP sync runner loop (#632)
Rework the DEP sync runner loop (#632)

* Rework the DEP sync runner loop. Primarily to fix #582. Also add & make more consistent logging, dedup some code, and clean up.

* Group vars in var(), remove commented code

mosen/micromdm,mosen/micromdm,micromdm/micromdm,micromdm/micromdm