Add support for jline-log4j2-appender (and possibly other means) for
interoperability between logging console output and JLine console input.
Make it possible to stop the console when it's waiting for input. Also,
remove the ConsoleReader from the jline-log4j2-appender when closing the
console.