control: Construct base zone group from JSON

Pulls together the profiles, zones, and fans JSON configurations to
construct a single zone group to be used as fan control's configuration.
This base zone group includes all that is necessary to get a basic fan
control configuration that will hold fans at the zone's given full
speed. A single zone group is created since the active state of any
configured profiles is checked while creating the zone group.

*Note that "profiles" in JSON configs replace what was called
"Conditions" in YAML based configs.

Tested:
    Loaded profile based configurations
    Loaded non-profile based configurations
    Loaded combination of profile and non-profile based configurations

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