Add Windows support

I added an emulation for the `which` command on Windows. The solution only works if we know the extension, therefore I test both `.bat` (used in dart sdk) and `.exe` (content_shell) if no extension was supplied.

I also fixed a place where we run into issues with path seperators.

I also fixed the additional line breaks in the console output.