Adds es6 iterator support for sync operations

- fixes export when not bowser or nodejs
- makes tracing an opt in feature. 'off' by default
- other minor optimizations