Add s390 lpar specific socket counting

Use /proc/sysinfo if it is available, ala
lscpu
add unit tests for s390 /proc/sysinfo parsing
some refactoring to make testing easier
cleanup camelcase name
add test case for s390 with sysinfo