save_entry(
ctx,key,content,opts) ->ok,err
Store an entry and refresh its meta and indexes
The managed fields title, created, updated and links come from
the content. Unknown meta fields survive. opts.fields sets schema
fields in the same call, and validate_fields checks them before
anything is written. opts.author names who the events carry.
A new entry takes its schema defaults and logs one created event, which
holds the fields it was filed with. A save over an existing entry logs a
field event per field that moved. A change to the body logs no event.