Do not go to system database if we aren't actually navigating from a page
Take the database form the url very early
Don't read database document to figure bundles options
Don't try to read error if it isn't permitted
Be aware of tenant databases in global calls
Generate first request to the correct database if we have one specified.
Fixing compilation
Avoid errors on limited access
Fixing spatial queries not respecting default operator
Merge branch '2.5' of github.com:ayende/ravendb
RavenDB-2571 There should be only one conflict per replication source (latest one)
Merge pull request #1238 from ppekrol/RavenDB-2571

RavenDB-2571 There should be only one conflict per replication source (l...
Fixing double setting of id in bulk insert
RavenDB-2568 - Client side work
RavenDB-2249 Replication behaviors in ReplicationTask and SqlReplicationTask should update their internal tuners about the size of currently processed batches. This is especially important to properly deal with big documents.
RavenDB-2568 - Server side work
Renaming the following settings:

* MemoryLimitForIndexing -> MemoryLimitForProcessing
* DisableDocumentPreFetchingForIndexing -> DisableDocumentPreFetching
* MaxNumberOfItemsToPreFetchForIndexing -> MaxNumberOfItemsToPreFetch
* MaxNumberOfItemsToIndexInSingleBatch -> MaxNumberOfItemsToProcessInSingleBatch
* InitialNumberOfItemsToIndexInSingleBatch -> InitialNumberOfItemsToProcessInSingleBatch
* AvailableMemoryForRaisingIndexBatchSizeLimit -> AvailableMemoryForRaisingBatchSizeLimit
* MaxIndexingRunLatency -> MaxProcessingRunLatency
* MaxNumberOfParallelIndexTasks -> MaxNumberOfParallelProcessingTasks
Merge branch '2.5' of https://github.com/ayende/ravendb

Conflicts:
	Raven.Client.Embedded/EmbeddableDocumentStore.cs
	Raven.Client.Embedded/EmbeddedAsyncServerClient.cs
	Raven.Client.Lightweight/Connection/Async/AsyncServerClient.cs
	Raven.Client.Lightweight/Connection/Async/IAsyncDatabaseCommands.cs
	Raven.Client.Lightweight/Connection/RavenUrlExtensions.cs
	Raven.Database/Bundles/Replication/Responders/AttachmentReplicationResponder.cs
	Raven.Database/Bundles/Replication/Responders/Behaviors/DocumentReplicationBehavior.cs
	Raven.Database/Bundles/Replication/Responders/Behaviors/SingleItemReplicationBehavior.cs
	Raven.Database/Bundles/Replication/Responders/DocumentReplicationResponder.cs
	Raven.Database/Server/Responders/Debugging/DebugConfig.cs
	Raven.Studio/MainPage.xaml.cs
	Raven.Studio/Models/ApplicationModel.cs
	Raven.Studio/Models/DatabaseModel.cs
	Raven.Studio/Models/ServerModel.cs
build fix
moved GetDatabaseConfiguration to appropriate interfaces