Detect pending reboots

reboot_detect.ps1 now checks to see if Windows has a pending reboot scheduled to happen. This allows a provisioner to schedule a reboot only if needed using its builtin mechanisms.