qemu.tests: Add a test case for change queue with migrate

Add a new test case for change queue with migrate. Update the code
to handle the serail session break during test.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Merge pull request #88 from ypu/mq_with_migrate

qemu.tests: Add a test case for change queue with migrate