Added Support for Ravendb Multi- Tenancy cases

You guys are doing amazing work, however based on my understanding of Ravendb works i thought the following modifications to support both default and multi- tenancy databases scenarios would be of great importance.