OAK-2344 : Permission validation with Node.setPrimaryType
OAK-2319 : UserProvider does not install autocreated items

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1644588 13f79535-47bb-0310-9956-ffa450edef68
OAK-2333: SegmentMK startup slow with large journals
Avoid lock errors on some platforms (e.g. Windows)

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