Fixed PostgreSQL support and added MariaDB support

I've done some more hacking on the Docker setup, and have fixed the PostgreSQL locale issues, as well as added MariaDB support at the request of jthorson.