[shill] the beginnings of the data model

Flesh out Manager a little, to add vectors of Device* and Service* and ways to look through them.

BUG=chromium-os:15347
TEST=unit tests

Change-Id: Iae5280f56bf58cf1580f0b87c465f4905459f07a
Reviewed-on: http://gerrit.chromium.org/gerrit/966
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/service.cc b/service.cc
index d627c2e..29366f7 100644
--- a/service.cc
+++ b/service.cc
@@ -16,12 +16,14 @@
 
 namespace shill {
 Service::Service(ControlInterface *control_interface,
-		 EventDispatcher */* dispatcher */)
+                 EventDispatcher */* dispatcher */,
+                 Device *device)
   : available_(false),
     configured_(false),
     auto_connect_(false),
     configuration_(NULL),
     connection_(NULL),
+    device_(device),
     adaptor_(control_interface->CreateServiceAdaptor(this)) {
   // Initialize Interface montior, so we can detect new interfaces
   VLOG(2) << "Service initialized.";