Resolve an unneeded dependency on undocumented and version specific Sqlite
behavior. Without this patch some moved nodes might not be bumped during
update.

This resolves two failures in the test suite when running the tests with
the SVN_SQLITE_REVERSE_UNORDERED_SELECTS compile time option. Without this
patch these same errors can also occur when Sqlite chooses an unexpected
query plan.

* subversion/libsvn_wc/wc-queries.sql
  (STMT_SELECT_MOVED_PAIR3): Use a UNION ALL and order by to make the query
    report the matched rows in the ordering we expect in the C code.
    (read: ancestor first)


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