Adding a function stream-is-tty?

Added a function `stream-is-tty?(<file-stream>) => <boolean>`; to support the compiler output colourising. Unable to test in Windows (no access), but should work (but probably catches some printers as well).