EMI/GRIM: TextSplitter::checkString should ingore case

All other methods of TextSplitter ignore the case: the strings of the
splitted text are changed to lowercase and other strings provided via
arguments are compared case-insensitive.

This commit fixes issue #807.