Add bindings from xenctrlext

I've left out get_max_nr_cpus since it's just a wrapper around physinfo.