Add fileno() and isatty() to streams
Add fileno() and isatty() to streams

Windows console raw streams now have fileno() returning the standard
fileno and isatty() returning True. This changes the behavior of input()
function – it now calls readline hook rather than using the modified
streams directly. So we have autocompletion even within input(), on the
other hand we allways need custom readline hook for Unicode input().

Drekin/win-unicode-console,zed/win-unicode-console