Add a regression test for locks on copy source.

* subversion/tests/cmdline/lock_tests.py
  (copy_with_lock): New.
  (test_list): Add new test.


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