exposed HasJsonRequestFactory in IDocumentStore,

compiler warning fixes