virt: aexpect should timeout instead of busy-wait

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: add aexpect common cleanup function

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: aexpect classes should know server PID also

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: includes server process in aexpect liveliness

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Add aexpect unittests

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: aexpect server should log debugging info

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Cleanup aexpect reader & buffer storage

Aexpect shouldn't have empty string reader list and
should do more logging about opening/closing files.

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Add more aexpect unittests

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Put aexpect server code into a function

Signed-off-by: Chris Evich <cevich@redhat.com>