OAK-1298: Improve MoveDetector to also include moves from transient locations Correctly track moves of nodes whose parent was moved before

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