CB-7452 Windows. Rewrite ApplyPlatformConfig.ps1 using NodeJS

https://issues.apache.org/jira/browse/CB-7452