Added LTR text direction support to languageDirAttributeIsUsed. #72
Changed to smaller number of elements to search, support ancestor direction.

#72