[z1877] Enable script command MOVE_TO to also change the orientation

(based on commit 353d8f8)

(cleaned version of 51747be)

(based on commit [s1446] - 3e936d4)