Added method getText to Element which returns the content of all appended text nodes (recursively retrieving text from appended elements).