Add appveyor.yml.
Move jshint to pretest script and use dir names for Windows compatibility.