Support to update PFR D-Bus properties cache data

1) Added support to update the PFR D-Bus properties cache
   data when Host/Chassis State changes.
2) Optimized code to use list for creating Software
   versions object.
3) Added missing "ufm_locked" state property to Attributes.

Tested:
Did chassis power on/off/soft/reset using ipmitool and
validated the d-bus properties updated or not. Also checked
for proper object creation with right data.

Change-Id: I706e53d47c2bcca5f3374e632b300622429f6f1b
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
3 files changed