[vSphere] Implemented feature to specify a socket cpu layout as specified in vmware API. If not used numCoresPerSocket is left out and default VMware behaviour is used.
[vSphere] also fixed bug in vm_reconfig_memory: wrong memory value passed to reconfig_hardware (memory in bytes instead of memory in MB).

(cherry picked from commit e8f71c671dc690dd5e04285d8b322c87d080ff0d)
Signed-off-by: Marc Grimme <grimme@atix.de>