reverse key,value order in the {foreach}

Changes `{foreach key,value in collection}` into `{foreach key,value in collection}`. 

If we decide to change it back one day, here is a sed expression I've used to change samples / test:
`sed -r -i 's/\{foreach ([a-z]+)\,([a-z]+)/{foreach \2,\1/' [file name]`