Rename svnauthz-validate to svnauthz and start using subcommands.

svnauthz now has a validate and accessof subcommands.  If run with an argv[0]
that starts with 'svnauthz-validate' it enables a compat mode that behaves
almost exactly as svnauthz-validate did in 1.7.  Only difference being that
it will accept file:// URLs.  On UNIX we install a symlink as part of
the install-tools target now to make the old command work.

* Makefile.in
  (INSTALL_EXTRA_TOOLS): symlink svnauthz-validate to svnauthz

* build/win32/make_dist.py
  (_disttree): Rename svnauthz-validate.exe to svnauthz.exe

* build.conf
  (__ALL__, svnauthz-validate, svnauthz): Rename svnauthz-validate to svnauthz

* tools/server-side/svnauthz-validate.c: Rename to ... 

* tools/serverside/svnauthz.c
  (svnauthz__cmdline_options_t): Replace an anonymous enum.
  (options_table): Move options struct from sub_main().
  (svnauthz_opt_state): typedef previous anonymous opts struct in sub_main().
  (SVNAUTHZ_COMPAT_NAME): prefix of command name to enter compat mode.
  (usage, subcommand_help): Replace usage() with subcommand_help().
  (cmd_table): New struct for subcommands.
  (get_authz, subcommand_validate, subcommand_accessof): New functions, split
    off from sub_main().
  (EXIT_FAILURE): Redefine to 2 to match our contract.
  (handle_exit_error, EXIT_ERROR): Add exit_code argument.
  (SVN_INT_ERR): Pass EXIT_FAILURE to EXIT_ERROR().
  (use_compat_mode): New function.
  (sub_main): Refactor to use subcommands and support compat mode.
  (main): Use EXIT_FAILURE instead of hardcoded 2.


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