Add pretty encoding, remove explicit io from localflog.
Major improvements to the flogger library.

Added bytestring compilation and decompilation, as well as removed orphan
instances.
Wholly move [de]compilation to flogger library.