mongomapper support

Hey there! Using this gem in one of my projects, but it doesn't support mongomapper, so here is a fix for that. Thanks!