Transfer the code of the final local bump of the commit handling from adm_ops.c
to wc_db.c. This allows performing the entire operation in a single db
transaction, which for certain use cases provides a huge performance boost.

Especially on remote filesystems this change will reduce the post commit
processing of huge commits containing many nodes from hours to seconds.
(On the local ramdrive I use for most of my testing the improvement is barely
measurable but you will certainly notice this on local harddisks.)

* subversion/libsvn_wc/adm_ops.c
  (svn_wc_committed_queue_t): Just store svn_wc__db_commit_queue_t references.
  (process_committed_leaf,
   process_committed_internal): Move to wc_db.c.
  (svn_wc_committed_queue_create): Update initialization.
  (svn_wc_queue_committed4): Use svn_wc__db_commit_queue_add to perform the
    actual queueing.
  (have_recursive_parent,
   compare_queue_items): Move to wc_db.c.
  (svn_wc_process_committed_queue2): Extract part of the processing to
    svn_wc__db_process_commit_queue.

* subversion/libsvn_wc/wc_db.c
  (commit_queue_item_t,
   svn_wc__db_commit_queue_t): New structs.
  (svn_wc__db_create_commit_queue): New function.
  (process_committed_leaf,
   process_committed_internal,
   have_recursive_parent,
   compare_queue_items): Move from adm_ops.c. Use wc_db internal relpath
     functions where easily possible.
  (db_process_commit_queue): New function. Code extracted from
     svn_wc_process_committed_queue2.
  (svn_wc__db_process_commit_queue): New function.

* subversion/libsvn_wc/wc_db.h
  (svn_wc__db_commit_queue_t): New typedef.
  (svn_wc__db_create_commit_queue,
   svn_wc__db_commit_queue_add,
   svn_wc__db_process_commit_queue):


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1631392 13f79535-47bb-0310-9956-ffa450edef68