Wait for SSH connection after rebooting the machine

Ensure that the VM is accessible after we reboot it.

This also makes sure that the guest addition version is reported correctly after upgrading. (I still get three times the `guest_version_reports_differ` warning before booting.)

This should complete the fix for #80, #81, and #85.