Update connection to use pymongo.MongoClient
Add optional connection timeout, settings.MONGO_CONNECT_TIMEOUT_MS (defaults to 2s - otherwise a downed mongo instance can stop django from starting)