Move signals CursorAdded, CursorRemoved and CursorMoved to ops.Document.

This depends on #377