Automated/scripted reboot in standalone mode

New PR using alternate method (exit code): https://github.com/mendersoftware/mender/pull/601