xenlight: fix deadlock in VM clean shutdown

Instead of calling down into libxl to perform a blocking wait (which
causes a deadlock with the background event thread) we block on
a condition variable in xenopsd itself, and have the existing background
shutdown event thread wake us up.

Fixes #27

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