Run tests on Windows and support outputProperty

I did some changes to be able to run tests correctly on Windows and added support for a new option, `outputProperty`, which will populate a grunt property with the same name as the value of the option with the contents of the standard output of the command.