Modify system shutdown command.

New flag to shutdown at a given time. Refs #7833.

(I thought I submitted this PR already but for some reason I can't see it anywhere. So, sending again. Apologies if I missed a response somewhere.)