more optimal isProjectOrWorkspaceFile calculation
(cherry picked from commit de0e17a)
use ProjectCoreUtil.isProjectOrWorkspaceFile
(cherry picked from commit a845c6c)
avoid calling VirtualFile.getFileType for skipping detection of binary or particular type from content (IDEA-133507)
assertion in plain text indexing caused by random registration of plain text indexer (IDEA-127304)
(cherry picked from commit ec7d5b0)