[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).
Merge pull request #2298 from MarcGrimme/cpu_sockets

[vSphere] Implemented feature to specify a socket cpu layout as specified