src: Making NLSR a daemon process with -d option

Change-Id: Ia9a83adab0140d918ce6c4adc2023dd43fc0fe8d