src: Bug fixes in configuration file processing

One bug fixes in configuration file processing. NLSR was getting stuck after
after loading the validator as the interator was not incremented, another
fix is in helloprotocol: although it does not affect the result but affect
performance

Change-Id: Ie484f9f468933d4eed6f02c5fe6b24a97cd9f890