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.
Merge pull request #90 from tmatilai/wait_for_ssh_after_reboot

Wait for SSH connection after rebooting the machine