Mongo casbah

Merge casbah branch into master.