Use MongoClient for connection and update pymongo requirements to 2.4