vm_perf_example.py: Support for python 3
vm_perf_example.py: Support for python 3

Fix value to key lookup for python3.
Now support python2 & 3

Also displays metric instance if needed

jm66/pyvmomi-community-samples,vmware/pyvmomi-community-samples,pathcl/pyvmomi-community-samples