remove unneeded method in CommandFilter
JBIDE-16918: Using Forge TAB auto-completion inserts garbled text after the command
JBIDE-16918 - small refactoring and tests added