PLDM: Send firmware version to Hostboot

This commit sends the firmware version by adding
the version field in the General Fru record.

Tested on rainier using pldmtool

root@rainier:/tmp# ./pldmtool fru GetFruRecordTable
Received Msg
Buffer Data: 08 01 80 04 02 00 00 00 00 05
Sending Msg
Buffer Data: 00 04 02 00 00 00 00 00 05 01 00 01 03 01 02 08 39 31 30 35 2d 32 32 41 04 07 53 49 4d 50 31 30 52 0a 1b 66 77 31 30 32 30 2e 30 30 2d 38 2e 34 2d 30 2d 67 35 63 63 66 35 38 64 61 38 66 01 00 01 02 01 02
.......
Received Msg
Buffer Data: 08 01 00 04 02 00 00 00 00 00 05 01 00 01 03 01 02 08 39 31 30 35 2d 32 32 41 04 07 53 49 4d 50 31 30 52 0a 1b 66 77 31 30 32 30 2e 30 30 2d 38 2e 34 2d 30 2d 67 35 63 63 66 35 38 64 61 38 66 01 00 01 02 01 02 08 39 31 30 35 2d.........
 [
        {
            "FRU Record Set Identifier": 1,
            "FRU Record Type": "General(1)",
            "Number of FRU fields": 3,
            "Encoding Type for FRU fields": "ASCII(1)"
        },
        {
            "FRU Field Type": "Model(2)",
            "FRU Field Length": 8,
            "FRU Field Value": "9105-22A"
        },
        {
            "FRU Field Type": "Serial Number(4)",
            "FRU Field Length": 7,
            "FRU Field Value": "SIMP10R"
        },
        {
            "FRU Field Type": "Version(10)",
            "FRU Field Length": 27,
            "FRU Field Value": "fw1020.00-8.4-0-g5ccf58da8f"
        }
    ],
.........

Change-Id: Ib14b122ec7cc1e68df3e41a7c61276f76803e681
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/libpldmresponder/fru.hpp b/libpldmresponder/fru.hpp
index c890a87..5ae593a 100644
--- a/libpldmresponder/fru.hpp
+++ b/libpldmresponder/fru.hpp
@@ -137,6 +137,12 @@
         return associatedEntityMap;
     }
 
+    /* @brief Method to populate the firmware version ID
+     *
+     * @return firmware version ID
+     */
+    std::string populatefwVersion();
+
   private:
     uint16_t nextRSI()
     {