Enable XenServer support in nodepool

This patch contains all the changes that Citrix made in order to make
nodepool work with XenServer type images.

Change-Id: I12c798b523727d1a14e162aee98d9aae223cc2d5