Coule changes to work with newer pecl mongo extension without breaking existing.
Merge pull request #25 from gaillard/master

Couple changes to work with newer pecl mongo extension without breaking existing.