Return OData.Version with responses

The Redfish specification section 8.1 lists header values that should be
returned from responses.  It lists OData.Version: 4.0 as required in
this same section.

Implement this to the specification.

Tested:
Redfish protocol validator RESP_HEADERS_ODATA_VERSION test now passes.

curl --vvv https://$bmc/redfish/v1 shows Odata.Version header set in
response.

Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Id02ec218299524905fbd91cb161bfe727a51fc65
diff --git a/redfish-core/include/query.hpp b/redfish-core/include/query.hpp
index 0647a61..88859e1 100644
--- a/redfish-core/include/query.hpp
+++ b/redfish-core/include/query.hpp
@@ -29,6 +29,8 @@
         return false;
     }
 
+    res.addHeader("OData-Version", "4.0");
+
     std::optional<query_param::Query> queryOpt =
         query_param::parseParameters(req.urlView.params(), res);
     if (queryOpt == std::nullopt)