implement foreach razor statements

closes #4