Merge pull request #1 from kennethreitz/master

latest from kenneth
Added cygwin detection
Merge pull request #6 from pombredanne/master

Adding cygwin detection