Logbuf rewrite

Closes #92.

Docker backend is untested, and logbuf event buffering until a newline is missing.
Is this TODO still valid?