Rename variable eof to input_eof

Conflicts:
	src/nvim/os/input.c
Add guards for SIGPIPE and SIGQUIT
Add dummy module for unsupported systems
Link against windows libraries
Use putenv for os_setenv

- In systems where setenv is not available, os_setenv() can use
  putenv
Change guard for garray to allow WIN32
FIXME: Use mch_early_init() from os_unix for Dummy

- It seems mch_early_init is completely system independent
FIXME: implement mch_init in dummy
REMOVE: config for term
Fix term.c for when tgetent is not available

- The term.c support for Windows is currently broken because
  some code paths in term.c should not be enabled. This commit
  brings back guards for FEAT_TERMRESPONSE (that depends on HAVE_
  TGETENT)
- Replace LOG_TR with DLOG
- vim-patch:0
Enable terminal for WIN32

- The WIN3264 define does not exist in Neovim, use
  WIN32 instead
- Set win32 as DEFAULT_TERM on Windows
Fix FindLibUV libname for MSVC
Fix FindLuaJit libname for MSVC
Fix FindPDCurses.cmake libname for MSVC
Fix declaration generation for MSVC compiler

(cherry picked from commit 276a51e9e29f5493f03038337f876ee3bdf5cb4e)
Add header guards for sys/time.h and unistd.h

- On MSVC there are no sys/time.h and unistd.h
Disable incompatible compiler flags for MSVC
Add compiler flags for MSVC
Add MSVC defines for __func__, restrict, inline
FindLibIntl: Only link iconv link Mingw