update mongodb to 2.4.0
update mongodb to 2.4.0
use mongo c++ driver instead of the full mongodb dependency