* fix bug in _run_psql() with password handling
* use password through PGPASSFILE file
* fix checking maintenance_db and runas params: '' and None is equal
* fix bug with escaping in psql_query(), hope default delemiter and quote is enough
* psql_query() now returns list instead of dict, just according table nature
* add gathering tablespace parameter of databases in db_list()
* remove `locale` argument of db_create(), which is probably obsolete
* add db_alter() function for changing db parameters
* present() state now tries to fix db params if it's needed and possible
  (what we disscussed in issue #4164)
* fix pep8, formatting and double quotes
This breaks the syndic, but fixes the tests

This also adds the code needed to get the syndic going again.
Merge branch 'develop' of https://github.com/saltstack/salt into develop
do remove PGPASSFILE only when password is set
Make gen_event get ful returns
Ref the local client instance when gathering event data
kill stray print
Merge pull request #4385 from giantlock/7def5edf630e04b886aeaa93cf0867a42e83717e

Some fixes for postgres module
Make user.info return {} if user not present

This change has been made in all four user providers.
Update refs to user.info

In 266b86a, user.info was changed in all the user providers to return an
empty dict if the user passed to it was not present. This commit updates
the refs in salt.modules.ssh so that they use dict.get (or check if the
return data from user.info resolves to False) where appropriate.

There are a few remaining refs in salt.states.user.present, but in all
of those remaining cases the user.info function is only run in instances
where the user already exists.
Use __context__ to reduce calls to chkconfig/runlevel

This commit uses the __context__ dict to keep
salt.modules.rh_service._services() from running chkconfig --list and
runlevel every time it is called (which is often). The service.running
and service.dead states will clear the context data before trying to
detect changes.

This fixes #4295.
Merge branch 'develop' of https://github.com/saltstack/salt into develop
Improve nested outputter to check all number types
fixed a typo

a typo with consequences clearly
Merge pull request #4388 from giantlock/develop

fix pgpassfile removing
fix unit tests
fix unit tests
Merge branch 'develop' of github.com:giantlock/salt into develop
Merge pull request #4392 from whiskybar/patch-1

fixed a typo
Merge pull request #4386 from terminalmage/issue4383

Make user.info return an empty dict when user not present