all: Replacing deprecated NameComponents class with Name

NameComponents is kept for backwards compatibility as typedef to Name

refs #29
diff --git a/helper/ndn-stack-helper.cc b/helper/ndn-stack-helper.cc
index 3f284cf..c6cf1c3 100644
--- a/helper/ndn-stack-helper.cc
+++ b/helper/ndn-stack-helper.cc
@@ -42,7 +42,7 @@
 #include "ns3/ndn-forwarding-strategy.h"
 #include "ns3/ndn-fib.h"
 #include "ns3/ndn-pit.h"
-#include "ns3/ndn-name-components.h"
+#include "ns3/ndn-name.h"
 #include "ns3/ndn-content-store.h"
 
 #include "ns3/node-list.h"
@@ -360,8 +360,8 @@
 
   Ptr<Fib>  fib  = node->GetObject<Fib> ();
 
-  NameComponentsValue prefixValue;
-  prefixValue.DeserializeFromString (prefix, MakeNameComponentsChecker ());
+  NameValue prefixValue;
+  prefixValue.DeserializeFromString (prefix, MakeNameChecker ());
   fib->Add (prefixValue.Get (), face, metric);
 }