A pasted image arrives while it still loads, so the draft save did not
start. A close of the card then cleared the image data from memory. The
draft kept the text and a reference to an image that RuneStone never
saved.
- A second draft file, <card hex>.images.json, keeps the data of the
images that only the draft uses.
- Only a save of the description or the card writes image files. Save
and Cancel empty the draft and its image record, so a discarded draft
leaves no image file.
- A reopened card restores the images of its draft. The draft saves
after a pasted image finishes loading. A card save also writes a
cover image that only the draft has.
New tests: the pmDraftImages smoke test and the description-draft unit
tests.
(cherry picked from commit d9653da579bf8cfc0edd2457f72e658c9fe00fd6)