Modified pymongo/connection to allow mocking the connection with MongoMo...

Modified pymongo/connection to allow mocking the connection with MongoMock and similar libraries.

This is an experiment, if you think that this is not the correct way then I'm open to better proposals. My aim is to decouple a little bit MongoEngine from pyMongo in order to allow testing without network connection or the need to install Mongo in our machines.

This pull request is not enough to achieve my goal. I've pull requested another little change to MongoMock.

Thanks for your attention.