- moved std stream isTerminal property to object so all streams can see
 - made ttyname use isatty to check if fd is tty
 - hardcoded /dev/tty as tty name is ttyname_r
 - fixed and changed isatty and ttyname tests to run natively
Merge pull request #1381 from inolen/tty_fixes

isatty and ttyname fixes