Merge pull request #912 from pdalpra/master

Replace Java collections + clean up
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