Added setting of the window title under Cygwin

Common method for setting window title using escape sequences works under Cygwin on Windows too (for example in mintty, ConEmu and even in plain cmd.exe). But Cygwin sets TERM environment variable to "cygwin" by default. Therefore I have added "cygwin" to the TERM testing condition. Tested in ConEmu, mintty and cmd.exe.