xmlGenerator: modularize hostConfig.py for easier reuse
xmlGenerator: modularize hostConfig.py for easier reuse

Instead of calling this script from command line, we will need to use it from
another python script/module.

Issue: GMINL-5262

Change-Id: Ic3b1f55c0a73c4edff005687327cd19570ab7743
Signed-off-by: David Wagner <60228a510f9a76940848fa2d29321fc4edfc2119@intel.com>
Reviewed-on: https://android.intel.com/317977
Reviewed-by: Gonzalve, Sebastien <eb080873e0961eb0e27ae23642f9b887ff089d6f@intel.com>
Reviewed-by: cactus <c3ee75fbaae48de2b78e493a0872d74c3ea268c4@intel.com>
Tested-by: cactus <c3ee75fbaae48de2b78e493a0872d74c3ea268c4@intel.com>

android-ia/hardware_intel_parameter-framework,android-ia/hardware_intel_parameter-framework,android-ia/hardware_intel_parameter-framework