move is_tty() to phake\Bin::is_tty()
don't use the global terminal/output helpers in phake\Bin

Due to recent changes there is no longer any guarantee that these
helpers will have been loaded when Bin::fatal() executes, so we'll just
drop the ansi code in there directly.