Add es6 generators
Merge pull request #1221 from mikach/master

Add ES6 Generators