Fix bugs with couch_proc_manager limits

The merge left about three features in the couch_proc_manager at odds
which ended up preventing the proper counting of live processes. This
could and does lead to deadlocks as waiters are never provided a process
for use.

Closes COUCHDB-2321