Cleanup and additional features in guestutils

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>