added let and const to for-loop code generation (+ test)

Fixes issue #451

I've also added the "const" keyword for the code generation.
Yet no browser is able to use it for the "for-in" and "for-of" loops, but the es6 draft allows it at this place.

Also added the appropriate tests ...