Fixed dome isMoving property, which was declared as method.
Moved dome movement check to checkJobStage to avoid a lock-up in the case the dome has not finished moving when the mount has.
That lock-up would happen because the dome check was done upon notification of the end of the slew, and that no further notification would come to test the dome again.
Moving that code block also avoids duplicating it for stages "STAGE_SLEWING" and "STAGE_RESLEWING".
Admittedly, when there is no dome in the setup, the next action could be taken directly in the mount callback, but the cost of deferring this to checkJobStage is light.
Moreover the use of the intermediate stages "STAGE_SLEW_COMPLETE" and "STAGE_RESLEWING_COMPLETE" clarifies the code of the state machine.