extensions: pels: Add PEL path to elog entry

Populate the path property of the error log entry with the path
to the PEL path. This requires making the entries map public.

Restore the value of the path for the entries when the PEL
manager starts up once the Repository has verified each PEL file.

Tested: Verified the PEL path was populated in the path property
        and that it was re-populated after restarting the app.
root@openbmc:~# busctl --no-pager get-property xyz.openbmc_project.Logging \
  /xyz/openbmc_project/logging/entry/884 xyz.openbmc_project.Common.FilePath Path
s "/var/lib/phosphor-logging/extensions/pels/logs/2020120522023306_50000D30"

Change-Id: I2a7315bbc3f0f4699e77aadbc7da05818c0c15e3
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/log_manager.cpp b/log_manager.cpp
index 98be0d1..756ee4f 100644
--- a/log_manager.cpp
+++ b/log_manager.cpp
@@ -239,11 +239,12 @@
         quiesceOnError(entryId);
     }
 
-    doExtensionLogCreate(*e, ffdc);
+    // Add entry before calling the extensions so that they have access to it
+    entries.insert(std::make_pair(entryId, std::move(e)));
+
+    doExtensionLogCreate(*entries.find(entryId)->second, ffdc);
 
     // Note: No need to close the file descriptors in the FFDC.
-
-    entries.insert(std::make_pair(entryId, std::move(e)));
 }
 
 bool Manager::isQuiesceOnErrorEnabled()