Run bhyve VM in a loop.  That way we can run "/sbin/reboot" inside the VM,
and the script will restart the VM after it reboots.
In script which tests upgrading via the GUI, detect if web interface
displays "System is rebooting", in order to attempt to cleanly shut down the script.
Add script to test rebooting via the UI.