CA-93557: Cache SR and VIF checks for vm_assert_agile.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
CA-93557: Move local call assert_new_vm_preserves_ha_plan to the master.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
CA-93557: Remove redundant check from VM.resume.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
Merge pull request #1349 from jeromemaloberti/CA-93557

CA-93557: Fix poor performance for VMs in 'Restart' vs 'Restart if possible'