Implement the charm store logging API.

This will allow storing/retrieving ingestion logs.
To activate the functionality, a client branch is also
required.
No need to unmarshal here - json will make sure it's all valid when marshaling anyway.

    logResponse = &params.LogResponse{
        Data: (*json.RawMessage)(&log.Data),
        ... etc