Add foreach loop to iterate through Seq stored in session
Merge pull request #911 from gcoutant/foreach

Add foreach loop to iterate through Seq stored in session, close #906