make all text node changes use REPLACE_TEXT and find attributes of internal nodes

until now some text node changes would be caught by REPLACE_INNER_HTML and others by REPLACE_TEXT. This should make sure all pure text node changes are caught by REPLACE_TEXT.

Attribute changes of inenr nodes were not (always found). With this patch they do. See issue #53 .