OAK-562: Clean up duplicate name conversion in plugins/nodetype

Refactor type template classes to use Oak names internally and to better
avoid code duplication. Instead of extending the builder base classes
from jcr-commons, we implement everything locally to be able to better
share the name mapping code and to avoid extra CND handling complexity.
As a consequence we use CndImporter instead of the lower-level
CompactNodeTypeDefReader mechanism for importing CND files.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1434620 13f79535-47bb-0310-9956-ffa450edef68
OAK-562: Clean up duplicate name conversion in plugins/nodetype

Avoid extra Oak-JCR-Oak name mappings in registerNodeTypes() by moving
the code that writes the type definition nodes from ReadWriteNTM to the
template classes that have direct access to the underlying Oak names.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1434626 13f79535-47bb-0310-9956-ffa450edef68
OAK-562: Clean up duplicate name conversion in plugins/nodetype

Move classes related to node type registration to an
o.a.j.o.plugins.nodetype.write subpackage to better encapsulate the
functionality. Only the ReadWriteNodeTypeManager and InitialContent classes
need to be public.

Also replace ValidatingNodeTypeManager with a factory method in
ReadOnlyNodeTypeManager to reduce the number of separate classes.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1434640 13f79535-47bb-0310-9956-ffa450edef68
OAK-563: Rename SessionDelegate...OrThrow methods
reverting changes from revision 1434364

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1434702 13f79535-47bb-0310-9956-ffa450edef68
OAK-567 DiffBuilder performance problem

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1434720 13f79535-47bb-0310-9956-ffa450edef68
OAK-51 : Access Control Management (WIP)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1434779 13f79535-47bb-0310-9956-ffa450edef68
OAK-51 : Access Control Management (WIP)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1434824 13f79535-47bb-0310-9956-ffa450edef68
OAK-50 : Implement User Management (WIP)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1434827 13f79535-47bb-0310-9956-ffa450edef68
OAK-563: Rename SessionDelegate...OrThrow methods
rename getOakPathOrThrow to getOakPath to be consistent with corresponding Name method

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1434837 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'trunk' of https://github.com/apache/jackrabbit-oak into trunk
OAK-567: DiffBuilder performance problem

improvement proposed by michael

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1435058 13f79535-47bb-0310-9956-ffa450edef68
[OAK-307] - fixed SolrIndexHookIntegrationTest
Merge branch 'trunk' of https://github.com/apache/jackrabbit-oak into trunk
[OAK-307] - renamed SolrIndexHookTest to SolrIndexHookIT
[OAK-307] - added not null check to StaticSolrServerProviderTest#testFallbackEmbeddedSolrServer
[OAK-307] - re enabling embedded solr cloud
OAK-497: No LoginModules configured error on Java 7

Drop severity of the default JAAS configuration messages from warn to info,
as they simply state that in the absense of explicit JAAS configuration the
default built-in configuration gets used.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1435139 13f79535-47bb-0310-9956-ffa450edef68
OAK-51 : Access Control Management (WIP)

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

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1435213 13f79535-47bb-0310-9956-ffa450edef68
OAK-554: PropertyStates#createProperty ignores namespace mappings when creating states of type NAME and PATH
test case

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