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>
virt: aexpect server shouldn't clean lock files

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: fix aexpect bug server inheriting client fds

On the line prior, the client uses _lock() which opens
a file descriptor.  The server was inheriting this open
fd via the subprocess.POpen() call.

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