Merge "Make DocumentCursor opt-out of having a self-observer" into qt-dev