Look at correct server information

Look at /xyz/openbmc_project/inventory/system for the server
information. Before the "server overview" page looked at the
BMC information for things like Server SerialNumber.

Resolves openbmc/openbmc#3095

Tested: Verified I see the correct server information now.
Change-Id: I562b28353d79fbf4a84e4c9a01db57d757a102a1
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/common/services/api-utils.js b/app/common/services/api-utils.js
index e74b196..1e28127 100644
--- a/app/common/services/api-utils.js
+++ b/app/common/services/api-utils.js
@@ -887,6 +887,19 @@
                 });
                 return deferred.promise;
               },
+              getServerInfo: function(){
+                return $http({
+                  method: 'GET',
+                  url: DataService.getHost() + "/xyz/openbmc_project/inventory/system",
+                  headers: {
+                    'Accept': 'application/json',
+                    'Content-Type': 'application/json'
+                  },
+                  withCredentials: true
+                }).then(function(response){
+                  return response.data;
+                });
+              },
               getHardwares: function(callback){
                 $http({
                   method: 'GET',