jsDump: Output non-enumerable properties of TypeError

Fixes #558
Closes #559
Export: Select methods to be exported to the window scope

Fixes #561