Initial implementation of Kyotocabinet backed Log

This implements a persistent log using the embedded database Kyotocabinet.