mgmt: loosened coupling between FibManager and InternalFace

Implemented InternalFace.setInterestFilter to loosen
coupling

refs: #1138

Change-Id: Ie58daed35bc3613398c8d3fc1de8b796e29907b8
diff --git a/daemon/mgmt/fib-manager.cpp b/daemon/mgmt/fib-manager.cpp
index 214bf0b..569a3be 100644
--- a/daemon/mgmt/fib-manager.cpp
+++ b/daemon/mgmt/fib-manager.cpp
@@ -69,8 +69,9 @@
   };
 
 FibManager::FibManager(Fib& fib,
-                       function<shared_ptr<Face>(FaceId)> getFace)
-  : ManagerBase(shared_ptr<AppFace>(new InternalFace(*this))),
+                       function<shared_ptr<Face>(FaceId)> getFace,
+                       shared_ptr<AppFace> face)
+  : ManagerBase(face),
     m_managedFib(fib),
     m_getFace(getFace),
     m_verbDispatch(FIB_MANAGER_REQUEST_VERBS,
@@ -131,7 +132,7 @@
   const size_t optionCompIndex =
     FIB_MANAGER_REQUEST_PREFIX.size() + 1;
 
-  const ndn::Buffer &optionBuffer =
+  const ndn::Buffer& optionBuffer =
     request.getName()[optionCompIndex].getValue();
   shared_ptr<const ndn::Buffer> tmpOptionBuffer(new ndn::Buffer(optionBuffer));
   Block rawOptions(tmpOptionBuffer);