use dynamic ports and add windows support for test running play apps