avoid Array#find in Puppet::Resource::Catalog::Puppetdb#find_resource
Merge pull request #503 from github/find-resource-opt

Avoid Array#find in Puppet::Resource::Catalog::Puppetdb#find_resource