Adding passing test
RavenDB-2641 added --restore-system-database and --restore-database=url
RavenDB-2646 IndexStats should be compatible with 2.x clients
When last collection etags component is initialized we should relay on existing index definitions instead of index stats to prevent from the case that index definition was deleted.
Merge branch 'RavenDB-2646' of https://github.com/ppekrol/ravendb
Merge branch 'RavenDB-2641' of https://github.com/ppekrol/ravendb
Preventing possible NREs
Fixing compilation
Support changing the Raven-Entity-Name metadata value
Optimization is only run for collection that has less than max items per single batch
Collection name is case insensitive
Outputting strings should be done as a string