RavenDB-2152 dynamic query indexes should not contain forbidden (by IIS) characters

+ changes from previous PR