don't use dmidecode on Win2003

closes: 2562
Get UUID for OS on SPARC

closes: #2539
fix indentation
use more explicit getOSName() function
no need to call external 'arch' binary
isolate in a dedicated private function