Pass raw string and length along with prompt.

So that callers may access the plain text string and the colorized
version.
Update prompt handling.
0.0.14
Ensure initial prompt has ANSI escape sequences.

By exposing the target output stream when the instance is instantiated
and ensuring that the isTTY test can complete.
0.0.15