Move this test closer to the other tests for cell notes.

Change-Id: I101e7fd20016b925cfcc25f6785937bc2fb8a03a
fdo#74556: Write test for ReleaseNote().

It's supposed to release note instance, not destroy it.

Change-Id: I40cd1a97d20b495f03fda68a991ad576de13ebc5
fdo#74556: Have ReleaseNote() really release note rather than destroying it.

Change-Id: I2d271476ae91354f33f19d074fa717b2a0b47ff7
fdo#74556: Correctly handle note captions life cycles.

When copying notes to clipboard, we don't clone captions but leave them
pointing to the original captions objects. Also, during undo and redo,
we need to clear all caption pointers to prevent them from being deleted
when the ScPostIt objects get deleted. The undo and redo of caption objects
are handled in the drawing layer afterwards.

Change-Id: I2b9cf0858dba5b3cac26db3ef501ea09779a795a