Added some win32 console functions.

Added:

* GetStdHandle()
* WriteConsole()
* GetCurrentConsoleFont()

I've added in a test for WriteConsole and GetCurrentConsoleFont but they don't pass from IDEA. I'm assume that's because there is no console window displayed.