qemu: implement clean shutdown by pressing the ACPI power button via QMP

We can wait for the VM to shutdown by observing that qemu will remove the
QMP socket when it closes.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>