ULib - This patch adds PostGres test alongside with minor fix

This patch adds PostGres test database alongside with minor fix...

All tests are passing as per [my Travis-CI build log](https://travis-ci.org/stefanocasazza/FrameworkBenchmarks/builds/45049685)
I think most compilation-based c++ projects perform this kind of check in their `./configure` script - I'd guess there are some predefined functions you could use instead of rolling your own checks