Change validate-files.py to use environment variables to provide arguments.

This allows the use of proper quoting to prevent any shell meta characters
in the filename from being interpreted.

* tools/hook-scripts/validate-files.py
  (Commands.user_command): Set the environment and pass it thorugh to the
    command.
  Fix some tab characters that accidentally slipped in.
  No longer need Template from the string module.

* tools/hook-scripts/validate-files.conf.example:
  Adjust example conf file to reflect the change to environment vars.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1429444 13f79535-47bb-0310-9956-ffa450edef68
Fix breakage in C++ bindings (fallout of r1426773).
The moral of the story is to not blindly search-and-replace without reading the code.

* subversion/bindings/cxxhl/src/exception.cpp (error::compile_messages):
   Go back to using apr_pool_destroy, not svn_pool_destroy, to balance
   apr_pool_create -- since this source file does not use the svn_pool
   functions at all.


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