Reimplement the svn_wc_process_committed4() which has been deprecated since
Subversion 1.6 slightly less efficient by making it produce a commit queue
and then committing that.

This intermediate step will then allow making the commit from the queue
more efficient.

Originally we added this intermediate function as api to allow requiring a
SHA hash in the final API, but that didn't work out as we did still go
through this code from the copy descendant handling.

* subversion/libsvn_wc/adm_ops.c
  (svn_wc__process_committed_internal): Make static and rename to...
  (process_committed_internal): ... this. Update recursive call.

* subversion/libsvn_wc/deprecated.c
  (svn_wc_process_committed4): Construct wc_ctx and commit queue.

* subversion/libsvn_wc/wc.h
  (svn_wc__process_committed_internal): Remove function.

* subversion/tests/libsvn_wc/wc-test.c
  (global): Include apr_md5.h and suppress deprecation warnings.
  (test_legacy_commit1): New function, exercising some otherwise dead
    legacy code.
  (test_funcs): Add test_legacy_commit1.


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