converted core SGS to new object interfaces + additional updates:
- implemented stat_stack_xdump (dumping more info about stack variables)
- fixed formatting of empty lines
- temporarily removed object typeof override
- implemented array iterator API test