Add support to get Redfish response data

Changes:
    Add a function to get the instance response
    data. This comes in handy when debugging Python
    Redfish call failure or using the response to handle
    unexpected errors and exceptions due to compatibility
    packages or code changes issues.

Tested:
    Tested from local sandbox changes.

Change-Id: If5f383ef90a153a1892e25c72602649e93ab15aa
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_redfish.py b/lib/bmc_redfish.py
index 7570c9b..236ff44 100644
--- a/lib/bmc_redfish.py
+++ b/lib/bmc_redfish.py
@@ -203,6 +203,13 @@
 
         return self.get_session_key(), self.get_session_location()
 
+    def get_session_response(self):
+        r"""
+        Return session response dictionary data.
+        """
+
+        return self.__dict__
+
     def enumerate(
         self, resource_path, return_json=1, include_dead_resources=False
     ):