(PUP-2741) Remove the 'search' function.

The 'search' function was deprected in 3.7.0 (PUP-1852), and is
now removed.
Merge pull request #2751 from hlindberg/PUP-2741_remove-search-function-from-puppet-4

(PUP-2741) remove search function from puppet 4