builder/virtualbox,vmware: add ability to reset (reboot) a VM

Some OS installers hang when they attempt to reboot. This code allows us to force the reboot if we need to.