JBIDE-16933 Externalize selected toolitem is not properly disabled

Updated ExternalizeStringsUtils in order to enable externalization only if selected text within text node or attribute value