Fixed inventory related issues in test_inventory and test_sensors test files

This change includes:
      - Inventory path cpu, dimm and other componenet are now taken using enumerate
      - Updated test_inventory TCs to get component count using enumerate.
      - Palmetto.py file updated with recent changes in skeleton.
      - This changes will not have any impact on other system run like Berreleye

What this check in does not include
      - Remove complete dependency on skeleton file. This
        will be taken care in our automation one by one.

resolves : openbmc/openbmc-test-automation#119

Change-Id: I3266d48c2484d0a8f0b91b47e06a805def1a8486
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
3 files changed