feat(transpiler): Transform for..of to Dart as for..in

Added transformation of for..of into Dart for..in.  
Added error for JS for..in since the semantics don't match.  
Added error for for..of utilizing destructuring declarations.

Closes #53 
I meant the actual DestructuringTransformer from traceur. After adding that a lot of tests are failing. I'm thinking that writing a partial destructuring transformer may be easier but haven't gotten into the details of the failures yet.


> On Nov 27, 2014, at 1:50 PM, Victor Berchet <notifications@github.com> wrote:
> 
> In tools/transpiler/src/outputgeneration/DartParseTreeWriter.js:
> 
> > @@ -465,6 +469,45 @@ export class DartParseTreeWriter extends JavaScriptParseTreeWriter {
> >      this.writeList_(tree.parameterNameAndValues, COMMA, false);
> >    }
> >  
> > +  // FOR LOOPS
> > +  // Translate for..of to for..in and throw error on for..in (JS)
> > +  /**
> > +   * Transforms for..of into for..in.
> > +   * Unsupported:
> > +   *  - Destructuring iterators for map key, value
> I haven't look at the details but I believe that what works for ES5 should be easily applicable to Dart ?
> Any particular concerns you can think of ?
> 
> —
> Reply to this email directly or view it on GitHub.
>