Installs PostgreSQL database server and optionally creates an 'app' db