1.0: Merged revisions 1586364, 1586372 and 1587130 (OAK-1696)

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