fix #73, Complete rewrite of coalescing (change-merging) algorithm,
so all textchanges are mergable. (Also fixes #98,#97,#95,#41)