Fixed case RavenDB-1085: When changing database, the Queries view now selects the first equivalent index or the first available index.
Merge branch '2.5' of https://github.com/samueldjack/ravendb into 2.5

Conflicts:
	Raven.Studio/MainPage.xaml
base for reporting UI
Making sure that the count of attempts and retries amount are not the same
Fixing test - will not try to read the anonymous access from the current db
fixing how we run in ram mode
Fixing auth issues
There is no need to do double escaping
Fixing NRE when using bulk insert with changes
Adding error handling for disposing the db when there are still long running tasks running
Do not cache the windows principal instance, instead, cache the token, and use that instead.
More error handling for cluster discovery
Properly handle query string parsing, including legacy client support
Fixing escape/unescape issue
Fixing the way we are handling auth for bulk insert
Fixing double escapes
Matching the escaping for lazy as well
Adding failing test for RavenDB-1090
Fixing an issue when comparing to nullable long
Fixing issues with encryption bunlde
Merge branch 'master' of github.com:ayende/ravendb