scoped variable

This replaces Pull 193
https://github.com/getrailo/railo/pull/193