XenAPI: Tidy calls to get_all_ref_and_rec

get_all_records is more efficient than getting them individually in the
old get_all_ref_and_rec implementation.

Replaced some cases of get_all_records with a faster and more
specific API call.

Change-Id: I4725c3f1fdebdf1737941cb7db69b19afb22df9f
XenAPI: Speedup get_vhd_parent_uuid

In many cases the VDI record has already been retrieved.
Use it rather than expensively getting a new VDI record from XAPI.

Change-Id: I469e2a415c1f1924010f47d3927ca18c45a7b8f8
Remove XML support from v3 API plugins

Remove XML support from the following v3 compute API plugins:

 - hosts
 - hypervisors
 - instance_actions
 - ips
 - keypairs

Part of blueprint remove-v3-xml-api
DocImpact

Change-Id: I49da82632c884cdac36ee37674a4d0fc360fdd83
Remove XML support from some extension v3 API plugins

Remove XML support from the following v3 compute API plugins:

 - extended_server_attributes
 - extended_status
 - extended_volumes
 - extension_info

Part of blueprint remove-v3-xml-api

DocImpact

Change-Id: I4f3785fbdac7257370458a3bdd859d46ef83f415
Remove XML support from some v3 API plugins(e.g. services)

Remove XML support from the following v3 compute API plugins:

 - config_drive
 - services
 - simple_tenant_usage
 - versions

Part of blueprint remove-v3-xml-api

DocImpact

Change-Id: I58a29974253a5acfb04f42cf4712ba290203cb5a
Remove XML support from certificates v3 API

This patch removes XML support from certificates v3 API.

Part of blueprint remove-v3-xml-api

DocImpact

Change-Id: If34053c1dce851dc6b3fd2bd1b8ebd03849bae53
Remove XML support from admin_password V3 API plugin

Removes all XML support from the V3 API admin_password
plugin.

Partially implements blueprint remove-v3-xml-api

Change-Id: Ib45a04d34704bc259ef6e457d6dfb6f79c929edf
DocImpact: XML no longer suported for the admin_password plugin
Remove XML support from some v3 API plugins

Remove XML support from the following v3 compute API plugins:

 - access_ips
 - agents
 - availability_zone
 - block_device_mapping
 - cells
 - extended_availability_zone

Part of blueprint remove-v3-xml-api

DocImpact

Change-Id: I9cf3017668774e93d4679067e41da2c8301606a0
Merge "Remove XML support from v3 API plugins"
Merge "Remove XML support from some v3 API plugins(e.g. services)"
Merge "Remove XML support from some v3 API plugins"
Merge "Remove XML support from certificates v3 API"
Merge "Remove XML support from some extension v3 API plugins"
Merge "Remove XML support from admin_password V3 API plugin"
Merge "XenAPI: Tidy calls to get_all_ref_and_rec"
Merge "XenAPI: Speedup get_vhd_parent_uuid"