added preliminary support for wrapping ES6 generators (see #66)