added windows compatibility

-boolean windowsPC config option to call praatcon instead of praat
-rewrote programExists() to be portable
-imports at beginning changed to revert the working directory if R
resets it (and fixed redundant import of math)