Remove dependency on ext-mongo, to be able to test with Mongofill

cc @mcuadros @danslo