rebaseUpdates

fun rebaseUpdates(updates: List<Update>, over: List<Update>): List<Update>

Rebase and deduplicate an array of client-submitted updates that came in with an out-of-date version number. over should hold the updates that were accepted since the given version. Will return an array of updates that has updates already accepted filtered out, and has been moved over the other changes so that they apply to the current document version.