refs #9865 logic enhancement to reduce mongodb calls to get distinct tenant list especially when the unique tenants are few
refs #9865 added couple of debug logs and comments
refs #9865 update as per review feedback
Merge pull request #5 from Elastica/pvt-jk-9865

refs #9865 logic enhancement to reduce mongodb calls to get distinct ten...