Make infinite revert clear moved-here from move destinations outside
the reverted tree.

* subversion/libsvn_wc/wc-queries.sql
  (STMT_SELECT_MOVED_OUTSIDE): New.

* subversion/libsvn_wc/wc_db.c
  (op_revert_recursive_txn): Clear moved-here.

* subversion/tests/libsvn_wc/op-depth-test.c
  (revert_nested_move): Extend to test clearing of moved-here.


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