CB-6889, CB-6899, CB-6909 Multiple fixes in master.cfg to ensure proper work on windows slaves

This includes #9, #10 and #11 with conflicts resolved.
Issues: [CB-6899](https://issues.apache.org/jira/browse/CB-6899), [CB-6889](https://issues.apache.org/jira/browse/CB-6889), [CB-6909](https://issues.apache.org/jira/browse/CB-6909)