BACKLOG-3856 , BACKLOG-3883 - introduce interface for IdentifierMappingService; moved it to a separate package; moved query related implementation to a separate package; use Jackrabbits NamespaceRegistry that contains all the namespaces. Introduce AdvancedSearchable interface for external data source that accepts ExternalQuery (implements QueryObjectModel).