Refactored win_pkg to get all installed software as well as remove the win32* 3rd party module dependencies
Refactored win_pkg to get all installed software as well as remove the win32* 3rd party module dependencies

Motivation:
I was not be able to get all installed software on both the 32bit and Wow64 registries. The problem is that the win32api module automatically redirects to the registry hive of the platform being run (Wow64 or 32 bit).
There was no way that I was able to find a way to prevent this from happening.

More information can be found here:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa384232(v=vs.85).aspx

Furthermore, depending on if a program is 64 bit or 32 bit, when it is installed the program will be entered
in the appropriate registry hive. Thus, the win32api module will not get all installed software.

Implemantation/Fix:
The built in _winreg module allows for opening either the 64 or 32 bit hive, thus allowing for all installed software to be reported.
Furtheremore, using _winreg allows for the removal of third party dependencies as it is a built-in module for python.

Change-Id: I1b642fc752cbb38b7192923bef0fb1f2b85913d2

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt