Loops: rehab 2.10 version with tests
Loops: limit loop optimizations through Steams to top-level expressions (so as to avoid

optimizing too much when compared to Loops for Scala 2.10.x)