remove trailing whitespace

Fix your damn editor @Coreh!
Implement initial Windows and Cygwin support

See Coreh/hookshot#1.
implement missing isWin() function
make the cygpath() function handle relative paths properly
Merge pull request #2 from TooTallNate/master

Initial Windows and Cygwin support