rainbowparens: use document text modification signals

Merged Waqar Ahmed requested to merge work/rainbow-fixes into master

This allows us to handle both insert and remove. Also, instead of triggering the reghighlight immediately, batch it to avoid needless work.

Merge request reports