Expand conf namespace

Put rest of conf.hpp in the conf namespace. This is
largely a sed replace, and wrapping from_json in
conf namespace as it failed to build.

Change-Id: I9fe5c7b2fface44618c43af2367035afc39bcb64
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/main.cpp b/main.cpp
index 012eca4..d896300 100644
--- a/main.cpp
+++ b/main.cpp
@@ -46,11 +46,11 @@
 #endif
 
 /* The YAML converted sensor list. */
-std::map<std::string, struct SensorConfig> sensorConfig = {};
+std::map<std::string, struct conf::SensorConfig> sensorConfig = {};
 /* The YAML converted PID list. */
-std::map<int64_t, PIDConf> zoneConfig = {};
+std::map<int64_t, conf::PIDConf> zoneConfig = {};
 /* The YAML converted Zone configuration. */
-std::map<int64_t, struct ZoneConfig> zoneDetailsConfig = {};
+std::map<int64_t, struct conf::ZoneConfig> zoneDetailsConfig = {};
 
 /** the swampd daemon will check for the existence of this file. */
 constexpr auto jsonConfigurationPath = "/usr/share/swampd/config.json";