Support IPv6 in address check lookups.

This supports IPv6 in address DNS lookups and socket bind checks. Addresses are
looked up with the system getaddrinfo(), and the v6/v4 preference of this lookup
is respected. IPv6 address literals in the config file are expected to be
bracketed in [], and the result of lookups will be bracketed as well, to support
the ZeroMQ URI format.
Unset the IPV4ONLY socket option if available.

Since IPv6 sockets support both v4 and v6 addresses, the socket option is unset
unconditionally if the parameter is available in the zmq module. The actual
decision as to which address version to use is done by the address lookup code,
which obeys the system v4/v6 preference.
Be more resilient towards missing addresses and hostname lookup failures.
Add a unit test for passing IPv6-formatted addresses to verify_socket.
IPv6 address literals should be specified without brackets in config files.
Clean up some PEP8 stuff
implement postgres.owner_to th change ownership of all relartion, functions, ... in the database
fix string formatting
Add glob support to pkg.version

This commit will allow one to use wildcards in the argument(s) to
pkg.version, which will enable one to get the version of all packages
that match the pattern. Multiple arguments to pkg.version are still
allowed.
Remove stray print.
Merge branch 'develop' of git://github.com/saltstack/salt into postgres.owner_to

* 'develop' of git://github.com/saltstack/salt: (101 commits)
  Finish the required support for #4587
  Fix pip requirements file issue. Refs #4446, #4361 and probably #1615.
  Join the processes in order to wait for them to finish.
  disable default service module on Arch ARM
  A faster approach to the same problem.
  Make sure proper number of parameters
  Catch returns that do not have hosts
  Another spot where we don't need os.sep
  Don't use os.sep here. Always / on master
  Clean up very old string concatination
  Provide the necessary code changes to support #4587. Again, sorry @kinware for my rudeness.
  Fix doc string in test.versions_report(). Cosmetic fix.
  Add support in test module for getting versions report from minions.
  Clean up 'salt --versions-report' after patch from s0undt3ch (thanks!).
  Add libzmq version to --versions-report output.
  Modified nginx module
  Fix version
  move the aes key location so that the correct NEW key is sent
  enable pacman pkg module for Arch ARM
  Style updates for cmdmod execution module
  ...
Fix issues around `salt.modules.file`, `salt.states.files` and respective tests.

* Updated `salt.modules.file.makedirs` to properly work. Any path passed to this function should be a directory, ie, if `/tmp/foo/bar` is passed, `/tmp/foo/bar` should be a directory, not `/tmp/foo`.
* Since `salt.modules.file.makedirs` was updated, `salt.states.file.append` needed to be updated to pass the proper directory to create.
* Minor formatting change
Adding Google Compute Engine Linux to grains
Merge pull request #4607 from techhat/gcel

Adding GCE Linux to grains
Fix my wrong interpretation of `salt.modules.file.makedirs()`.
We want to create `path` not `dirname(path)`.
just cache the script on windows
Fixed a couple logic errors
Handle `SaltReqTimeoutError` in a cleaner way.
Handle publish tests a little better. Still not fixed though.