OAK-2062 - Range queries and relative properties resultset should be consistent with JR2

merging r1621962 into 1.0 branch



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