Fix docs for makedirs_perms

Make documentation for makedirs_perms show mode 0755 instead of 493
use zmq.IPC_PATH_MAX_LEN constant

less code duplication
better language
remove execute bit
Fix #3456
minor spacing change
Merge pull request #3443 from viq/patch-1

Fix docs for makedirs_perms
Merge pull request #3445 from gotcha/develop

use zmq.IPC_PATH_MAX_LEN constant
keep up with pkg.latest state
Merge pull request #3454 from seanchannel/develop

remove execute bit
Merge pull request #3457 from dlindquist/develop

Fix import typo in rpm build patch
remove travis target in readme
Quick Documentation fixes for APT pkgrepo state

* the aptitude repo manager needs the name to be the complete
  entry from the sources.list file.  Documentation modified to
  make this clear (compared to say the YUM version)

* removed a superfluous reference to "deb" in the uri section
fix #3449
Merge pull request #3458 from morganfainberg/document-fixes-for-apt-pkrepo

Quick Documentation fixes for APT pkgrepo state
Fix #3367
Fix #3397
Add tests for nested grain/pillar matching

Also added tests for traditional grain matching when target grain is a
list.
Merge pull request #3459 from archtaku/tests

Add tests for nested grain/pillar matching
Send stderr to subprocess.PIPE in version.py

If git is not installed, the stderr output from the shell out to 'which
git' is printed to the console whenever a salt CLI command is run. This
commit sends it to the subprocess pipe to keep it away from the console.

Also, I replaced the call to 'which git' with the POSIX-compliant
'command -v git'. The 'which' command should be avoided as it is not
POSIX-compliant, and doesn't set a nonzero return code on all platforms.
See below for an example of how which does not work as expected on
Solaris. I believe the MacOS version of which also has this problem. On
these platforms, if git was not found, the call to
subprocess.Popen.poll() would not find a nonzero exit status and salt
would therefore continue trying to obtain the current git commit ID.

$ uname -a
SunOS foo.tld 5.10 Generic_139556-08 i86pc i386 i86pc
$ which foo
no foo in /usr/pkg/bin /usr/pkg/sbin /usr/sfw/bin /usr/sfw/sbin /sbin
/usr/sbin /usr/ccs/bin /usr/bin
$ echo $?
0
$ command -v foo
-bash: command: foo: not found
$ echo $?
1
Merge pull request #3461 from archtaku/quickfix

Send stderr to subprocess.PIPE in version.py