Use xcp-idl for command-line parsing

This will require making changes to the init.d script, so this needs to be synchronised with xen-api-libs-specs.