Added cygwin detection

Added the ability to detect a cygwin console via the tmpdir. It will detect if "java.io.tmpdir" contains "cygwin", which most Cygwin installations will have (Usually is C:\[Cc]ygwin\tmp)