qemu: store the qemu pid in the Domain db record. Use the pid and the QMP socket to judge liveness.

When starting qemu, we wait for the QMP socket to appear before returning.
When destroying qemu, we use the pid stored in the Domain record.
When checking whether a domain is alive, we require the pid and the socket
  to exist.