fetch: Switch code to use ndn-cxx

This commit also moves code to ndn::chronoshare namespace and changes
logging to show file and line number of the logging statement.

Change-Id: I075320644166cea9d5d3ef65bb26a2cabfd4dc5a
diff --git a/core/logging.hpp b/core/logging.hpp
index b7c3f34..d81e8a0 100644
--- a/core/logging.hpp
+++ b/core/logging.hpp
@@ -28,9 +28,9 @@
 
 #define _LOG_INIT(name) NDN_LOG_INIT(chronoshare.name)
 
-#define _LOG_DEBUG(x) NDN_LOG_DEBUG(x)
+#define _LOG_DEBUG(x) NDN_LOG_DEBUG(__FILE__ << ":" << __LINE__ << ":" << " " << x)
 
-#define _LOG_TRACE(x) NDN_LOG_TRACE(x)
+#define _LOG_TRACE(x) NDN_LOG_TRACE(__FILE__ << ":" << __LINE__ << ":" << " " << x)
 
 #define _LOG_ERROR(x) NDN_LOG_ERROR(x)