build: Making build system consistent with other NDN projects and adding unit-test framework

This commit aims only at correcting building system and adding unit-test framework.
Existing test cases (ChronoSync) are disabled temporarily and will be fixed later.
Minimum changes are made, so that the code can be built successfully.
Compiling warnings will be resolved in a later commit.

Refs: #1495

Change-Id: Ibf7119bbd77b6307cb58bbee47b61d7a7312df98
diff --git a/src/nlsr.hpp b/src/nlsr.hpp
index 0c406ac..40a7de0 100644
--- a/src/nlsr.hpp
+++ b/src/nlsr.hpp
@@ -26,12 +26,18 @@
   using namespace ndn;
   using namespace std;
 
+  inline static void
+  NullDeleter(boost::asio::io_service* variable)
+  {
+    // do nothing
+  }
+
   class Nlsr
   {
   public:
     Nlsr()
-      : m_io(ndn::make_shared<boost::asio::io_service>())
-      , m_nlsrFace(make_shared<ndn::Face>(m_io))
+      : m_io(new boost::asio::io_service)
+      , m_nlsrFace(new Face(shared_ptr<boost::asio::io_service>(&*m_io, &NullDeleter)))
       , m_scheduler(*m_io)
       , m_confParam()
       , m_adl()