RUBY-13086: (refactoring)   textAvailable(@NotNull List<Pair<String, Key>>) introduced to allow future performance optimization
RUBY-13086: (code cleanup) let's use ContainerUtil
Fix spellchecker tests