Some Perl script cleanups.
Some Perl script cleanups.

* tools/client-side/search-svnlog.pl:
  (usage): New subroutine.  Print the script's usage and what it does.
  (main):
    Replace custom command line processing code with Getopt::Long.
    Do better checking of variable values by using if (defined $var)
      instead of if ($var) which fails is $var is a file named `0'.
    Print $! if open()'s fail.
    Explicitly close the `svn log' pipe or the log filename and check
      for an error.
    Print the script's name when it wants to die.
    Add CollabNet copyright.
  
* tools/hook-scripts/commit-email.pl:
  Add the svn:executable property.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion