Makes casbah a compile dependency.
Rework mongo configuration to use casbah.