Replace Xenctrl.get_uuid with Xenlight.Dominfo.get

Replace call to Xenctrl with one to Xenlight. The remaining Xenctrl calls
(other than those in DEBUG) require corresponding libxl ocaml bindings to be
written, or require new functionality to be added to libxl itself
(shadow_allocation_{get,set}). The remaining Xenctrl calls have been marked
with comments describing this state of affairs.

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>

Replace more Xenctrl calls with existing Xenlight calls

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>

attach_and_activate no longer needs xc

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>

Add TODO comments for remaining 'with_xc' calls

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>

Remove more with_xc calls, and annotate the remaining work

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Refactoring: remove separate Domain module
xenlight: remove more legacy code

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: replace Xenctrl.domain_setmaxmem with xenlight equivalent

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
libxl: Added domain_death event handler

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
xenlight: remove unused files

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: eliminate most of device.ml

The only things left in device.ml that is needed are to do with vncterm and
some Vbd-related functions that are used by save and restore. Perhaps we can
eliminate these as well at some point.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>