ndnd2c: Fixing regressions that restricted use of space in config files
and improper handling of some incorrect config lines

Also, this commit allows use of ndnd2c -f -, allowing input using stdin

Change-Id: I8458c2e4f894163f65d320b62ca6566edad5b37f