Add code for working sanity test in windows.
Refactor application windows batch file to avoid delayed
execution issues. Add windows batch file to run sanity test.
Refactor sanity test class to call windows batch file properly.
Refactor activator class to close System.out stream before exiting
so that ProcessBuilder detects the exit.
Refactor to first check at 10 seconds and then recheck every second
if bundles are still in the STARTING state.
Refactor to inherit IO and add limit of 60 retries.
And fix style errors
Change-Id: Ifa4d78ebfcf0eeaaccf99e56e84a88d33377f0fa
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>