fix(jqLite): find check if the element is a text node

find check if the element is a text node.
If element is a text node return an empty array.
Otherwise invoke getElementsByTagName on the element and return the result

Closes #4120