presence: Extract fan object data

Extract the fan name and path for each entry within the JSON
configuration and store within a list of fan objects to be used when
constructing the fan presence policies.

Tested:
    Fan objects created with a "name" and "path"
    Missing "name" or "path" throws exception

Change-Id: I16c17b87576d68addaf69e72311681b46f83b49e
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2 files changed