fix pkg.remove, pkg.list_pkgs
fix pkg.remove, pkg.list_pkgs

- lint fixes
- list_pkgs() now returns multiple versions if software installed more than once.
- list_pkgs() now returns 'Not Found' when the version is not found instead of '(value not set)' which matches the contents of the sls definitions.
- list_pkgs() has had some improvements in correctly detecting valid software entries.
- remove() replaced 1,000 loop calls of list_pkgs which runs for unknown number of seconds, with a 3 second timeout with 0.5 delay between tries. This greating increase the chance of detecting the software changes.
- remove() with a version specified which was not installed, removed any version, now no longer removes the wrong version.
- remove() handles latest as a version, and also looks for this in the sls definition if no other options available. This helps support software which auto updates.

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