Create java.lang.reflect.Proxy once.

This changes the dynamic proxies to create java.lang.reflect.Proxy once per instance instead of every time one is passed as a parameter to java.

I've also fixed postInstall.js on Windows.

Perhaps I'm missing something, it's unnecessary do the whole baton thing when we're doing synchronous invocations on java, right?