use zmq.IPC_PATH_MAX_LEN constant

less code duplication
better language
remove execute bit
Fix import typo in rpm build patch
Merge pull request #3445 from gotcha/develop

use zmq.IPC_PATH_MAX_LEN constant
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
Docstring correction

/usr/bin/which is not POSIX
Merge pull request #3462 from archtaku/quickfix

Docstring correction
Update to the PKGREPO apt functions in apt module

* URI is was not really a functional feature since
  the uri was the element that the pkgrepo functions
  used as a base for matching internally.  it is essentially
  a new source definition if the URI changes, so the best
  bet is to .absent the repo and add a new one.

* added in ability to manage repo keys to the APT .managed module
  and by nature of how .manage calls apt.mod_repo, the pkg.mod_repo
  can also now add GPG keys for the apt repositories

* added "consolidate" option.  This will smash down the apt repositories
  into as few lines as possible.  It should do some basic cleanup.  This
  function helps (when enabled) to ensure that salt doesn't miss a repo
  when it's not the "first" matched in the .get_repo function for a
  .managed state.

* changed pkgrepo to watch for exceptions from .mod_repo so that if
  there is an error (exception) that is raised (intentionally or
  unintentionally) the error is displayed to the user.

* updated documentation for apt pkgrepo to reflect these changes
Merge pull request #3463 from morganfainberg/pkgrepo-apt-update

Update to the pkgrepo apt functions in apt module