control: Add loading JSON configuration class objects

Created a utility function to load the JSON configuration class objects
of a given type that can be used when building the zone groups.
Initially the fan control profiles are being loaded to be used later in
constructing the zone groups.

Tested:
    Profiles parsed successfully
    Map of parsed profiles available for creating zone groups

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