control: Let Manager::addObjects() take a service

When calling Manager::addObjects(), pass in the service of the object,
if known, so that addObjects() can use that service to call
getManagedObjects() with and add objects to the cache even if the
D-Bus path passed in doesn't exist.

This fixes a bug where if the path doesn't exist, that function won't
add anything at all, even though getProperties() in init.cpp was
depending on it doing that so that it only needed to call addObjects()
once per group as a performance enhancement.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I971a244d665d3aaf493c3d03e7a4fec87e7e512d
diff --git a/control/json/triggers/init.cpp b/control/json/triggers/init.cpp
index 7c4af4e..a998e4d 100644
--- a/control/json/triggers/init.cpp
+++ b/control/json/triggers/init.cpp
@@ -52,7 +52,7 @@
             {
                 // Property not in cache, attempt to add it
                 mgr->addObjects(member, group.getInterface(),
-                                group.getProperty());
+                                group.getProperty(), group.getService());
 
                 // If the service was predefined for the group, then we know
                 // all members are in the same service so the above addObjects