Add callback to setdebugwindowsstoreproxy

* added a callback to setdebugwindowsstoreproxy so you know when it
completed
* added licensechanged handler to test code
* made test code purchase app, then IAP