Remove Hosts power on messages when powering off

Currently Host state services show incorrect states
when a target exits. To fix this, a bus call is used on
the target to determine its ActiveState.  Doing that
helps to determine if the target is already
powered on and is now powering down.

Change-Id: Id91dc8156308372fc1649526a7b6dedee94eeb01
Signed-off-by: Josh D. King <jdking@us.ibm.com>
diff --git a/host_state_manager.hpp b/host_state_manager.hpp
index 4678746..e277289 100644
--- a/host_state_manager.hpp
+++ b/host_state_manager.hpp
@@ -88,6 +88,18 @@
         void executeTransition(Transition tranReq);
 
         /**
+         * @brief Determine if target is active
+         *
+         * This function determines if the target is active and
+         * helps prevent misleading log recorded states.
+         *
+         * @param[in] target - Target string to check on
+         *
+         * @return boolean corresponding to state active
+         **/
+        bool stateActive(const std::string& target);
+
+        /**
          * @brief Determine if auto reboot flag is set
          *
          * @return boolean corresponding to current auto_reboot setting