examples: Do not use /localhost prefix in examples

This change is to avoid a common problem of running examples on separate
machines.  The use of /localhost prefix, due to name-based scoping,
restricts the example programs to run on a single machine.

Change-Id: Id9f753fb7d097411b77b6227c6518679849d4411
diff --git a/examples/consumer.cpp b/examples/consumer.cpp
index 3319065..6a76169 100644
--- a/examples/consumer.cpp
+++ b/examples/consumer.cpp
@@ -49,7 +49,7 @@
 main(int argc, char** argv)
 {
   try {
-    Interest i(Name("/localhost/testApp/randomData"));
+    Interest i(Name("/example/testApp/randomData"));
     i.setScope(1);
     i.setInterestLifetime(time::milliseconds(1000));
     i.setMustBeFresh(true);