fallback to default location when PATH to /usr/pkg/bin is missing
use LOCALBASE instead of hardcoded path
Fix a bug

Before:
$ salt-call pip.list tinypng
salt-dev:

git+https://github.com/saltstack/salt.git@77e758c2e8142d92298aa26db08ed6
af02506038
tinypng:
    1.2.0

After:
$ salt-call pip.list tinypng
tinypng:
    1.2.0
SmartOS joyent_20130322T181205Z does not have `spwd`. Provide an alternative.
Mimic what was done in d19d744 but for Solaris.
Merge pull request #5562 from zhangcheng/Fix_pip.list

Fix a bug of pip.list
Merge pull request #5563 from s0undt3ch/hotfix/solaris-shaddow

SmartOS joyent_20130322T181205Z does not have `spwd`. Provide an alternative.
Merge pull request #5564 from s0undt3ch/hotfix/solaris-useradd

Mimic what was done in d19d744 but for Solaris.
Merge pull request #5560 from iMilnb/develop

pkgin may not be present in $PATH
SmartOS also uses `pkgin`. No one using SmartOS is installing packages!?
Merge pull request #5565 from s0undt3ch/hotfix/smartos-pkgin

SmartOS also uses `pkgin`. No one using SmartOS is installing packages!?
Make `salt.modules.pkgin` handle SmartOS properly.
Merge pull request #5566 from s0undt3ch/hotfix/smartos-pkgin

Make `salt.modules.pkgin` handle SmartOS properly.
Improve pkgin regex detection
Explain the skip and fix the package list building.
Merge pull request #5568 from s0undt3ch/hotfix/smartos-pkgin

Improve pkgin regex detection
s/remooved/removed/
Merge pull request #5570 from chjohnst/tyop

s/remooved/removed/
Added rename function

Wanted to move a file, but didn't want to use os.
Merge pull request #5571 from jamesalbert/patch-2

Added rename function