Fix quoting issues on windows

Windows expects a different order of quotes for perl, and given that the
command evaluated already featured several double quotes, the entire
enchilada had to be outsourced into a perl script.

	1. Add a comment to that file, moved from the original
	testcases, so that it's not a mystery as to what it does.

	2. Given that, remove the 'g' bundle from all relevant testcases.

	3. Edit the argument to execresult() in all relevant tests, to
	make use of the new script file

	4. reindent 001.cf
Merge pull request #1512 from aappilattoq/master

Fix quoting issues on windows