windows compatibility

-added boolean windowsPC config option to call praatcon instead of praat
-rewrote programExists() to be portable
-changed imports to revert the working directory when R resets it