entity-manager: create class PowerStatusMonitor

Removing following global variables
```
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
static bool powerStatusOn = false;
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
static std::unique_ptr<sdbusplus::bus::match_t> powerMatch = nullptr;
```
and placing them in a new class PowerStatusMonitor.

class PowerStatusMonitor is a member of class EntityManager and
inherits its lifetime. So there should be no issue with the lifetime
compared to the global variable.

Tested: Inspection only.

Change-Id: Ibdd9eb3adb6655d88c90c2da8435912887ff547c
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/src/entity_manager/entity_manager.hpp b/src/entity_manager/entity_manager.hpp
index c244ad3..8aa8935 100644
--- a/src/entity_manager/entity_manager.hpp
+++ b/src/entity_manager/entity_manager.hpp
@@ -20,6 +20,7 @@
 #include "../utils.hpp"
 #include "configuration.hpp"
 #include "dbus_interface.hpp"
+#include "power_status_monitor.hpp"
 #include "topology.hpp"
 
 #include <systemd/sd-journal.h>
@@ -59,6 +60,8 @@
 
     dbus_interface::EMDBusInterface dbus_interface;
 
+    power::PowerStatusMonitor powerStatus;
+
     void propertiesChangedCallback();
     void registerCallback(const std::string& path);
     void publishNewConfiguration(const size_t& instance, size_t count,