Use es6-for-of to transform for-of statements

Implementation of #5