OAK-1164: Duplicate binaries

Drop the ValueBasedBlob class, and replace the functionality with
a mechanism for unwrapping a binary ValueImpl instance. The solution
is a bit ugly, but required until or unless we separate the Value
interface more cleanly from PropertyState.

Also adjust the XML import code to use ValueFactory instead of
Jackrabbit's ValueHelper and related Value classes for creating
Value instances.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540433 13f79535-47bb-0310-9956-ffa450edef68
OAK-1143: [scala] Repository init throws "illegal cyclic reference involving class ChangeDispatcher"

Add a few general-purpose Observer classes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540548 13f79535-47bb-0310-9956-ffa450edef68
OAK-1080: MongoMK: improved concurrency
- do not create new head revision for empty commit

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540640 13f79535-47bb-0310-9956-ffa450edef68
OAK-1165: Too frequent document splits

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540650 13f79535-47bb-0310-9956-ffa450edef68
OAK-91: convert TODO into regular comment as associated issues has been resolved fixed.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540656 13f79535-47bb-0310-9956-ffa450edef68
OAK-51 : Access Control Management (add restriction that allows filtering by namespace prefix)

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

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540673 13f79535-47bb-0310-9956-ffa450edef68
OAK-1143: [scala] Repository init throws "illegal cyclic reference involving class ChangeDispatcher"
Remove dependency on NodeStore from ChangeDispatcher. ChangeDispatcher does not poll for external changes anymore.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540692 13f79535-47bb-0310-9956-ffa450edef68
OAK-1124 : test-case

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540741 13f79535-47bb-0310-9956-ffa450edef68
OAK-1167: Background read may cause IllegalArgumentException
- quick fix

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540753 13f79535-47bb-0310-9956-ffa450edef68
OAK-1148: Incomplete Javadoc with NodeState#compareAgainstBaseState

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540774 13f79535-47bb-0310-9956-ffa450edef68
OAK-874: Column names aren't reported properly for "select * from [nodeType]" queries

Always include selector name in wildcard colum names for backwards compatibility with Jackrabbit 2.x

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540828 13f79535-47bb-0310-9956-ffa450edef68
OAK-874: Column names aren't reported properly for "select * from [nodeType]" queries

Skip the selector name in wildcard columns for XPath queries.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540844 13f79535-47bb-0310-9956-ffa450edef68
OAK-1143: [scala] Repository init throws "illegal cyclic reference involving class ChangeDispatcher"
Implement ChangeDispatcher using CompositeObserver and BackgroundObserver

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540981 13f79535-47bb-0310-9956-ffa450edef68
OAK-1143: [scala] Repository init throws "illegal cyclic reference involving class ChangeDispatcher"
Make ChangeDispatcher implement Observer and replace beforeCommit, localCommit and afterCommit method with Observer.contentChanged

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540983 13f79535-47bb-0310-9956-ffa450edef68
OAK-869 : Runtime exception while adding node (oak-level test case)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540984 13f79535-47bb-0310-9956-ffa450edef68
minor improvement: remove unused methods

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540985 13f79535-47bb-0310-9956-ffa450edef68
OAK-1168: Invalid JCR paths not caught
Test case with the failing path commented out

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1540991 13f79535-47bb-0310-9956-ffa450edef68
OAK-1169 - Update Guava to version 15.0

Preparing for the update to 15.0

Replacing the usage of deprecated com.google.common.io.NullOutputStream with
ByteStreams.nullOutputStream() as this class has been removed in 15.0

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1541011 13f79535-47bb-0310-9956-ffa450edef68
OAK-949 : UserQuery does not properly work for the optional everyone group


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