MGWT-379: Proposed solution for classpath being too long on Windows

This PR is for master (so I assume 2.7).

I'd really like to be able to have the fix on a minor release of 2.5.1 (since we use GWT 2.5.1).

Will this be possible?

Thanks,

Mike