qt: add optional postgresql support.

Closes #32397.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Xcode 6.0.1

Closes #32394.
pox: modernize
pow: add 0.4.3 bottle.