shell script to run hwprobe against test data

for example, the lscpu test data in the
util-linux source tree.
Add a new method for calculating cpu sockets

This method should be exactly the same as lscpu,
improving accuracy.

Also adds support for running hwprobe.py against
a simulated /sys and /proc for testing. It will
complain if the new builting socket counting is
different from 'lscpu'

Add code for parsing the various proc/sys entries,
and corresponding tests cases.
make most s390 cases work now.
merge cleanup
use new cpu info method by default
Add a dict compare assert to test fixture
fix cpu unit tests to mock siblints list methods
improve output of assert_dict_equal
be extra paranoid and strip nul from /sys reads

At least on ia64, this seems to occasionally
be padded with \x00's.
add a simple s390x scenario to socket counting
Add info comments for test_hwprobe.sh
clean up main/test section of hwprobe.py
stylish cleanups
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
simplify parse_range
close file objects deliberately