Handle database deletions asynchronously

This changes deletion handlding to be asynchronous in couch_server. The
biggest change here is that open requests during a deletion will return
not_found before deletions occur.
2 files changed