Make params_lookup work with strict_variables

strict_variables setting has been introduced in Puppet 3.5.

We use catch for future parser and begin/rescue for current parser.