[wsgi][s]: db config.
[wsgi][xs]: bugfix to last commit.
[debug][xs]: add print of sql connection.
[wsgi][xs]: remove pointless config.
[setup][xs]: add psycopg2.