Implement the ingestion log endpoints.

This will allow storing/retrieving ingestion logs.
To activate the functionality, a client branch is also
required.
Is there a plan to store more then just errors? IngestionLogs suggest that we store info and warnings there as well.