(#19841) Document scope lookupvar bracket access

Puppet 3 adds a new method of doing scope lookups by defining the []
method on Puppet::Parser::Scope. This commit adds documentation of this
feature in the templating guide.