Changes I made to implement the Ansi REPL

This PR includes 3 small changes that I made to CCW while implementing a CCW plugin script that reuse the Ansi Console plugin in order to make CCW REPL able to display ANSI escape codes (mostly used for text coloring in text terminal).
It's the same content as previous PR except it's based on current master and does not contain the change of version number.