Add method to MongoClient to return all databases

This is the new pull request from your comments with all the changes requested and squashed history.