Nested chain patterns now flatten the event attribute lists as they "bubble up".

This makes the grammar much more intuitive.
Added Variable#to_s
foreach pattern now evaluates nested variables