all: cleanup common.hpp and import typenames from ndn namespace.

This allows us to compile NFD in C++11 mode, making use of std::shared_ptr,
std::function, std::bind, etc. rather than their boost equivalents
(provided that ndn-cpp-dev is also compiled in C++11 mode). This is an
experimental feature and may not work properly.

Change-Id: I310529f78e1e428a8530b087983130d1ef3a9d88
diff --git a/tests/mgmt/command-validator.cpp b/tests/mgmt/command-validator.cpp
index 7f34971..69c44a0 100644
--- a/tests/mgmt/command-validator.cpp
+++ b/tests/mgmt/command-validator.cpp
@@ -27,10 +27,10 @@
 
 #include "tests/test-common.hpp"
 
-#include <boost/test/unit_test.hpp>
 #include <ndn-cpp-dev/util/command-interest-generator.hpp>
 #include <ndn-cpp-dev/util/io.hpp>
 #include <boost/filesystem.hpp>
+#include <fstream>
 
 namespace nfd {
 
diff --git a/tests/mgmt/config-file.cpp b/tests/mgmt/config-file.cpp
index df0d9c3..ff352d4 100644
--- a/tests/mgmt/config-file.cpp
+++ b/tests/mgmt/config-file.cpp
@@ -22,11 +22,12 @@
  * NFD, e.g., in COPYING.md file.  If not, see <http://www.gnu.org/licenses/>.
  **/
 
-
 #include "mgmt/config-file.hpp"
 
 #include "tests/test-common.hpp"
 
+#include <fstream>
+
 namespace nfd {
 namespace tests {
 
diff --git a/tests/mgmt/fib-enumeration-publisher-common.hpp b/tests/mgmt/fib-enumeration-publisher-common.hpp
index cfe4232..b5ce20c 100644
--- a/tests/mgmt/fib-enumeration-publisher-common.hpp
+++ b/tests/mgmt/fib-enumeration-publisher-common.hpp
@@ -29,6 +29,8 @@
 
 #include "mgmt/app-face.hpp"
 #include "mgmt/internal-face.hpp"
+#include "table/fib.hpp"
+#include "table/name-tree.hpp"
 
 #include "tests/test-common.hpp"
 #include "../face/dummy-face.hpp"
@@ -79,13 +81,11 @@
     , m_publisher(m_fib, m_face, "/localhost/nfd/FibEnumerationPublisherFixture")
     , m_finished(false)
   {
-
   }
 
   virtual
   ~FibEnumerationPublisherFixture()
   {
-
   }
 
   bool