[libcommhistory] Add API for storing and querying draft events