model+helper+tests: Create an ndnSIM-specific transport for the NFD face system

This commit replaces the previous hack of implementing NS-3's inter-node
communication using the LinkService abstraction of the NFD face system.
The new implementation has higher memory overhead, but allows simulation
of any LinkService versions, including GenericLinkService that
implements NDNLPv2 protocol (i.e., fragmentation, network NACKs, etc.).

Change-Id: I3d16bcf29f4858049d1040a3e421e1c7151b3ba2
Refs: #3871, #3873
diff --git a/tests/unit-tests/ndn-cxx/face.t.cpp b/tests/unit-tests/ndn-cxx/face.t.cpp
index c78c8df..31ebfbc 100644
--- a/tests/unit-tests/ndn-cxx/face.t.cpp
+++ b/tests/unit-tests/ndn-cxx/face.t.cpp
@@ -22,6 +22,7 @@
 #include <ndn-cxx/util/scheduler-scoped-event-id.hpp>
 
 #include "ns3/ndnSIM/helper/ndn-app-helper.hpp"
+#include "ns3/error-model.h"
 
 #include "../tests-common.hpp"
 
@@ -175,6 +176,11 @@
     })
     .Start(Seconds(2.01));
 
+  // Make sure NACKs are never received
+  Ptr<ns3::RateErrorModel> model = CreateObject<ns3::RateErrorModel>();
+  model->SetRate(std::numeric_limits<double>::max());
+  Config::Set("/NodeList/*/DeviceList/*/$ns3::PointToPointNetDevice/ReceiveErrorModel", PointerValue(model));
+
   Simulator::Stop(Seconds(20));
   Simulator::Run();