dynamic query will not select an index with errors or a disabled one, and if an index is abandoned or idle, it would prefer other indexes
unit test + fix to how invalid index is determined (IsInvalidIndex in IndexStats)
minor
Merge branch 'RavenDB-2911' of https://github.com/myarichuk/ravendb