Add WaitVM to VMConnection interface

This adds WaitVM function to VMConnection interface. If you start a VM
in non-daemon mode, you can call it to wait for the VM to shut down.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>