Added support for applications closing requests, in which case
zc.zodbwsgi doesn't close requests or manage transactions itself.
Fixed: should release when connection is closed, not at end of request.
fixed: DRY
added missing test