detect.py: Adding cpu {cores|socket} counting

In addition of the number of logical cpu units we report via
cpu/numbers, let's report also the number of physical sockets & cores
per socket. That could will be useful for health_check.