Added support for building and testing in Windows to Gruntfile.js

I incorporated Jim Wilson's suggestion of a while loop to step through the results Array, and globally replace all '\' characters with '/'.
Testing was on Windows (of course), but also on my mac, to ensure that grunt and grunt test ran successfully there as well.