VELOCITY-704 default all scope controls to off, except $foreach and do a few other tiny, scope-related performance boosts (merge from trunk, r778045)