CA-104674: remove superfluous genid from VMs

On Xapi startup, in dbsync_master, we now remove genids from all VMs that don't
need them. Currently, only Windows 8 and 2012 require genids. We can tell that
a VM is Win8/12 because it has a vga=std platform flag, so we filter out all of
these VMs before removing genids. Since vga=std is unsupported for all other
VMs, we don't mind leaving their genid as-is.

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
remove_superfluous_genids: more readable, better logging

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
CA-104674: Allow dbsync genid removal to be disabled

We copy the switched_sync function from dbsync_slave to allow the genid removal
code to be disabled on a pool-wide basis. To disable this behaviour, do:

xe pool-param-set uuid=${pool_uuid} other-config:genid=nosync

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Merge pull request #1332 from mcclurmc/ca104674-genid-fixvms

CLEARWATER-LCM: CA-104674: remove superfluous genid