Updated API to be mongodb 2.4 compatible (travis).
Other solution : install 2.6 (https://github.com/kraih/mango/blob/master/.travis.yml for example)