Update analyze function to check STATUS_WORD

The STATUS_WORD PMBus command response will be the start of the power
supply fault analysis. Update the analyze() function to read its value
and process (select) fault bits.

Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Change-Id: If7274ad237c0604a56008676ae64804a5fd2854e
diff --git a/phosphor-power-supply/util.cpp b/phosphor-power-supply/util.cpp
new file mode 100644
index 0000000..c4555ae
--- /dev/null
+++ b/phosphor-power-supply/util.cpp
@@ -0,0 +1,12 @@
+#include "util.hpp"
+
+namespace phosphor::power::psu
+{
+
+const UtilBase& getUtils()
+{
+    static Util util;
+    return util;
+}
+
+} // namespace phosphor::power::psu