config: fix config without trailing newline
config: fix config without trailing newline

Fix config parser to handle case where configuration end with a block
without a following newline e.g.:

    table foo {
      ...
    }<EOF>

The finalize() routine wouldn't be called and the block wouldn't be
honored. Tested with config_test by modifying default configuration.

dlundquist/sniproxy,dlundquist/sniproxy,dlundquist/sniproxy,dlundquist/sniproxy