Templetazied ForeachStatement

I am currently stuck at the semantic analysis.
because depending on the type of the expression that is itterated foreach does diffrent things
how I check If the itterated type has thoose methods ?
-  `popFront()`/`front()`
-  `opApply`

I see.  Well, I took a minute to see if I could do it for your current code just as a learning experience.

Take a look: https://gist.github.com/schancel/d85b97f4cedfea3d9442