Make params_lookup work with strict_variables

Both exist? method of the Puppet::Parser::Scope object and strict_variables
setting have been introduced in Puppet 3.5.

Ref: https://github.com/puppetlabs/puppet/commit/31104582898806612cc1261d1e92cac45d87a13f