normalize text nodes

Not entirely sure if this is the right thing to do, but it seems to work for me for now. See also https://github.com/Pomax/DOM-diff/issues/51