(PUP-1852) Deprecate the 'search' function.

This function is deprecated because support for dynamic scoping
has been removed in general and this function makes it possible
to abuse the systems ability to search multiple disjunct name-spaces.
(PUP-2521) Don't use windows-pr constants

 - Somehow there were still some remaining constants referencing
   Windows:: which is part of windows-pr gem.  Most are already
   defined locally as of the code being ported to FFI.  Ensure that we
   use our internal constant definitions rather than those from gem:

    Puppet::Util::Windows::AccessControlEntry::CONTAINER_INHERIT_ACE
    Puppet::Util::Windows::AccessControlEntry::OBJECT_INHERIT_ACE
    Puppet::Util::Windows::AccessControlEntry::INHERIT_ONLY_ACE

    Puppet::Util::Windows::File::STANDARD_RIGHTS_ALL
    Puppet::Util::Windows::File::SPECIFIC_RIGHTS_ALL
    Puppet::Util::Windows::File::FILE_ALL_ACCESS
    Puppet::Util::Windows::File::FILE_GENERIC_READ
    Puppet::Util::Windows::File::FILE_GENERIC_EXECUTE

 - Add new constants to Puppet::Util::Windows::Error
    ERROR_FILE_NOT_FOUND
    ERROR_ACCESS_DENIED
(PUP-2521) Define Process constants locally

 - Previously, Process constants were used in a few locations throughout
   the code.  Capture the needed PRIORITY_CLASS constants in our local
   Windows Process class, and also define CREATE_NEW_CONSOLE.  These
   constants have moved in new versions of the win32-process gem.
 - Note that ext/windows/service/daemon.rb doesn't load Puppet code.
   The daemon only loads what it explicitly needs, so ensure the
   CREATE_NEW_CONSOLE constant is defined there.
(PUP-2521) Remove windows-pr mixins from daemon

 - synchronize and handle appear to no longer be used
Merge pull request #2813 from Iristyle/ticket/master/PUP-2521-remove-windows-pr-gem

(PUP-2521) - Remove windows-pr gem - phase 1
Merge pull request #2750 from hlindberg/PUP-1852_deprecate-search-function

(PUP-1852) Deprecate the 'search' function.