Foreach support

added support of for each statements.
this commit is based on the yield statement PR, but can be easily be merged on master.