mgmt: NfdManagerBase::makeAuthorization uses CommandAuthenticator

This commit also eliminates Forwarder in Mgmt/TestFaceManager/CreateFace test suite
and uses FaceTable directly.

refs #2063

Change-Id: I596e8c2a12dad64ee75082f384955f30d574f53e
diff --git a/core/manager-base.cpp b/core/manager-base.cpp
index 02190a2..3aeec6f 100644
--- a/core/manager-base.cpp
+++ b/core/manager-base.cpp
@@ -33,7 +33,7 @@
 ManagerBase::ManagerBase(Dispatcher& dispatcher,
                          const std::string& module)
   : m_dispatcher(dispatcher)
-  , m_mgmtModuleName(module)
+  , m_module(module)
 {
 }
 
diff --git a/core/manager-base.hpp b/core/manager-base.hpp
index 8ace6bb..cb90541 100644
--- a/core/manager-base.hpp
+++ b/core/manager-base.hpp
@@ -62,6 +62,12 @@
   ManagerBase(Dispatcher& dispatcher,
               const std::string& module);
 
+  const std::string&
+  getModule() const
+  {
+    return m_module;
+  }
+
 PUBLIC_WITH_TESTS_ELSE_PROTECTED: // registrations to the dispatcher
 
   // difference from mgmt::ControlCommand: accepts nfd::ControlParameters
@@ -134,14 +140,14 @@
   makeRelPrefix(const std::string& verb);
 
 private:
-  Dispatcher&       m_dispatcher;
-  std::string       m_mgmtModuleName;
+  Dispatcher& m_dispatcher;
+  std::string m_module;
 };
 
 inline PartialName
 ManagerBase::makeRelPrefix(const std::string& verb)
 {
-  return PartialName(m_mgmtModuleName).append(verb);
+  return PartialName(m_module).append(verb);
 }
 
 template<typename Command>