use double-quotes in postgresql commands (fix bug with "-")
add documentation for "template" parameter in postgresql_db
remove quotes in has_table_privilege and has_database_privilege
Merge pull request #1813 from legrostdg/devel

postgresql_db fails with owner containing a "-"
Skip polling when all hosts were skipped

Fixes #1823.
Actually allow using connection: on a task