GROOVY-6391: groovysh: fix bad member name
Fix invalid AnsiDetector after migration to jline2
make test succeed even if ANSI is not supported by test platform