Add support for translating files from the 'arbritrary node diff'.

This hides many non changes such as keyword changes when performing
a local diff like
$ svn diff --old=trunk --new=branches/log-message-templates

* subversion/libsvn_client/diff_local.c
  (includes): Add svn_subst.h.
  (translate_if_necessary): New function.
  (do_file_diff): Call translate_if_necessary.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1623820 13f79535-47bb-0310-9956-ffa450edef68
Fix a client API rule violation in 'svn import'.

* subversion/libsvn_client/import.c
  (svn_client_import5): A commit item's path is supposed to be absolute
   so set item->path to the already calculated absolute path.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1623974 13f79535-47bb-0310-9956-ffa450edef68
On the log-message-templates branch, merge from trunk.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/log-message-templates@1623975 13f79535-47bb-0310-9956-ffa450edef68