Move Active BMC version object to item_updater.

- There needs to be only one version class for both
  BMC and PNOR images. Thus removing the BMCVERSION
  class and moving the functionality to MANAGER class.

Change-Id: I6dda818960588cfd9ed345fe93068531efc7a877
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/item_updater.cpp b/item_updater.cpp
index 9e909d9..efff65f 100644
--- a/item_updater.cpp
+++ b/item_updater.cpp
@@ -106,6 +106,31 @@
     return;
 }
 
+void ItemUpdater::processBMCImage()
+{
+    auto purpose = server::Version::VersionPurpose::BMC;
+    auto version = phosphor::software::manager::Version::getBMCVersion();
+    auto id = phosphor::software::manager::Version::getId(version);
+    auto path =  std::string{SOFTWARE_OBJPATH} + '/' + id;
+    activations.insert(std::make_pair(
+                           id,
+                           std::make_unique<Activation>(
+                               bus,
+                               path,
+                               id,
+                               server::Activation::Activations::Active)));
+    versions.insert(std::make_pair(
+                        id,
+                        std::make_unique<phosphor::software::
+                             manager::Version>(
+                             bus,
+                             path,
+                             version,
+                             purpose,
+                             "")));
+    return;
+}
+
 ItemUpdater::ActivationStatus ItemUpdater::validateSquashFSImage(
              const std::string& versionId)
 {