clear the last tick flag before homing or running zprobe
optimize a bit
avoid potential race condtion between pendsv and saccleration timer by settin gthem to the same priority
Merge pull request #555 from wolfmanjm/fix/harden-homing-zprobe

Fix/harden homing zprobe