Add trailing new line.

This gives us statsite compatibility, which means stats should
    stop dropping.
fix tests for new lines
100% coverage packet-queue
Gaurd against flushing an empty buffer.

If you write a chunk that is larger then the blockSize it will
    try to flush an empty chunk.

To gaurd against this we check whether the writePos is zero and
    if so we do not flush it.
configure the trailing new line
Merge pull request #15 from uber/0.0.4-dns-recovery.statsite

[DNS Recovery]: Support statsite with trailing new line.