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