use BSONType from mongo/bson/bsontypes.h which contains MinKey and MaxKey instead of bson_type from bson.h
Merge pull request #7 from castiel/master

MongoHub issues with connecting to Config servers.