Adding code for parsing dmidecode output.

Signed-off-by: Rob Dobson <rob.dobson@citrix.com>