Add mutli-pkg support for pkg.latest (yumpkg5)

Also made some docstring tweaks to a few other files.
Fix output from salt-call to look like normal salt output
Provide a way to survey minion's version
Rename sorted_minions to version_status to be more descriptive
Edited for the new layout of the pki directory in version 0.11+
Fixed postgres.db_list

db_list was not running full sql command
Fixed postgres.user_list

user_list sql command was returning 12 fields, but code was trying to
process only 11
Add get_repo function to yumpkg.py
Adding pkgrepo.managed state
Merge pull request #3167 from torhve/develop

Fix output from salt-call to look like normal salt output
Merge pull request #3170 from kfdm/manage-versions

Extend the manage runner to allow surveying minion version
Merge pull request #3171 from DaveQB/patch-1

Edited for the new layout of the pki directory in version 0.11+
Merge pull request #3168 from kjkuan/develop

Bug fixes
Merge pull request #3174 from shadowfax-chc/postgres-fix

Postgres fix
Less intrusive logging setup when in use as an API access to salt. Fixes #3155.

* An effort is now made to try and find out if any other library has setup python's logging. If it has, we cooperate, if not, we rule.
* More doc strings.
* Explain a bit on the preferred way to do remote logging using syslog. Refs #3061.
Include remote logging comments in configuration files. Refs #3061.
Merge pull request #3175 from techhat/repo

Adding pkgrepo.managed state
def line doesn't need to be split
Support subexpressions in compound matcher.
Merge pull request #3178 from s0undt3ch/issues/3155

Less intrusive logging setup when in use as an API access to salt. Fixes #3155