added connection and release functions for the database binding it to the request/response cycle.
added connection and release functions for the database binding it to the request/response cycle.

cewing/learning_journal