(PDB-764) Malformed post conditions in query.clj.

This fixes some trivial typos in query.clj that had previously caused some
post-conditions to go unenforced.
Merge pull request #1018 from wkalt/ticket/master/pdb-764-malformed-query-postconditions

(PDB-764) Malformed post conditions in query.clj
(PDB-550) Update puppetDB docs to include info on LibPQFactory

Prior to this commit, the docs only enabled ssl for postgresql
connections. This commit changes the docs to add a few extra lines in
the database.ini file to use host cert/key and CA cert for verification
with ssl.

This commit also shows how PDB-550 can be accomplished, since it loads
PEM files and uses SSL without the use of keystores (yay!).
Merge pull request #1017 from briancain/maint/master/modify-psql-ssl-docs

(PDB-550) Update puppetDB docs to include info on LibPQFactory