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/test/dbus_passive_unittest.cpp b/test/dbus_passive_unittest.cpp
index 92a30af..2fc3471 100644
--- a/test/dbus_passive_unittest.cpp
+++ b/test/dbus_passive_unittest.cpp
@@ -29,7 +29,7 @@
     std::string id = "id";
 
     DbusHelperMock helper;
-    auto info = SensorConfig();
+    auto info = conf::SensorConfig();
 
     std::unique_ptr<ReadInterface> ri =
         DbusPassive::createDbusPassive(bus_mock, type, id, &helper, &info);
@@ -76,7 +76,7 @@
         EXPECT_CALL(helper, thresholdsAsserted(_, StrEq("asdf"), StrEq(path)))
             .WillOnce(Return(false));
 
-        auto info = SensorConfig();
+        auto info = conf::SensorConfig();
         ri = DbusPassive::createDbusPassive(bus_mock, type, id, &helper, &info);
         passive = reinterpret_cast<DbusPassive*>(ri.get());
         EXPECT_FALSE(passive == nullptr);
diff --git a/test/pid_json_unittest.cpp b/test/pid_json_unittest.cpp
index 098d9da..c8a1f61 100644
--- a/test/pid_json_unittest.cpp
+++ b/test/pid_json_unittest.cpp
@@ -8,8 +8,8 @@
     // There is a zone key, but it's empty.
     // This is technically invalid.
 
-    std::map<int64_t, PIDConf> pidConfig;
-    std::map<int64_t, struct ZoneConfig> zoneConfig;
+    std::map<int64_t, conf::PIDConf> pidConfig;
+    std::map<int64_t, struct conf::ZoneConfig> zoneConfig;
 
     auto j2 = R"(
       {
@@ -27,8 +27,8 @@
 {
     // Parse a valid configuration with one zone and one PID.
 
-    std::map<int64_t, PIDConf> pidConfig;
-    std::map<int64_t, struct ZoneConfig> zoneConfig;
+    std::map<int64_t, conf::PIDConf> pidConfig;
+    std::map<int64_t, struct conf::ZoneConfig> zoneConfig;
 
     auto j2 = R"(
       {