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/examples/ndn-triangle-calculate-routes.cpp b/examples/ndn-triangle-calculate-routes.cpp
index b3860dc..3df714f 100644
--- a/examples/ndn-triangle-calculate-routes.cpp
+++ b/examples/ndn-triangle-calculate-routes.cpp
@@ -23,7 +23,7 @@
 #include "ns3/network-module.h"
 #include "ns3/ndnSIM-module.h"
 
-#include "ns3/ndnSIM/model/ndn-net-device-link-service.hpp"
+#include "ns3/ndnSIM/model/ndn-net-device-transport.hpp"
 
 namespace ns3 {
 
@@ -84,8 +84,8 @@
       for (auto& nextHop : entry.getNextHops()) {
         cout << nextHop.getFace();
         auto& face = nextHop.getFace();
-        auto linkService = dynamic_cast<ndn::NetDeviceLinkService*>(face.getLinkService());
-        if (linkService == nullptr) {
+        auto transport = dynamic_cast<ndn::NetDeviceTransport*>(face.getTransport());
+        if (transport == nullptr) {
           continue;
         }
 
@@ -93,7 +93,7 @@
 
         if (!isFirst)
           cout << ", ";
-        cout << Names::FindName(linkService->GetNetDevice()->GetChannel()->GetDevice(1)->GetNode());
+        cout << Names::FindName(transport->GetNetDevice()->GetChannel()->GetDevice(1)->GetNode());
         isFirst = false;
       }
       cout << ")" << endl;