Add basic PostgreSQL support

Hi,

I made some updates to support PostgreSQL in addition to MySQL, just as Nginx support has recently been added.

Just as for MySQL, several databases and users can be added.

The interface has been updated, and unit tests have been created or updated.

I think there are still some things to enhance, so comments are welcome before this gets merged!