Implement the charm store logging API.

This will allow storing/retrieving ingestion logs.
To activate the functionality, a client branch is also
required.
Given this is internal, I'll add a TODO for this to be fixed later, if we want to.