src: Error fixing

NLSR was crashing for using cref on local variable. Fixed that
and also added startNotification() in initialize method in nlsr.cpp

Change-Id: I2e326ae465f53bb518d83dfed3863882d4adcb98
diff --git a/src/hello-protocol.hpp b/src/hello-protocol.hpp
index fd8ef09..9c6e223 100644
--- a/src/hello-protocol.hpp
+++ b/src/hello-protocol.hpp
@@ -72,10 +72,10 @@
 
   void
   onRegistrationSuccess(const ndn::nfd::ControlParameters& commandSuccessResult,
-                        const ndn::Name neighbor);
+                        const ndn::Name& neighbor);
 
   void
-  registerPrefixes(const ndn::Name adjName, const std::string& faceUri,
+  registerPrefixes(const ndn::Name& adjName, const std::string& faceUri,
                    double linkCost, uint64_t timeout);
 private:
   Nlsr& m_nlsr;