Update mingw code
Add newline_on_exit for non UNIX
Mingw does not have sys/ioctl.h
Move os imports to vim.h
Signals only work on UNIX
os_get_user_name() return FAIL if not *NIX