[squash] Changes from PR feedback. Pull proc spawning code into function. Make couch_proc_manager keep track of procs in an ordered_set ets table rather than a queue.