Added saving and restoring from binary data.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
implemented groups.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Added debug output and filled with example data.

todo: get the QConfigGroup to QJson
 get the QJson to QConfigGroup

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Convert from reference to pointer.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>