Keep database connection open after request is finished.

This is heavily inspired by Glenn Maynard:
https://groups.google.com/forum/?fromgroups=#!topic/django-users/m1jeE4Cxr9A/discussion

So far, this is implemented only for postgresql_psycopg2