Add a Reboot resource into core. (RFC code.)

For ease of testing, the actual reboot is commented out.
FWIW on solaris (I currently use SmartOS) i've always used `poweroff`