fix JSObject proxy printing for foreign objects

Fixes debugger not appearing when error involves
foreign object.
Merge branch 'upstream' into foreign-objects-debugger-fix

Conflicts:
	js/Kernel-Infrastructure.deploy.js
Merge pull request #635 from herby/foreign-objects-debugger-fix

fix JSObject proxy printing for foreign objects