added let and const to for-loop code generation (+ test)
Merge pull request #452 from GFriedrich/master

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