Ensure proper options are passed to PHP Mongo driver >=1.5.0

This transforms the deprecated "timeout" and "wtimeout" options to their
respective counterparts ("socketTimeoutMS" and "wTimeoutMS") whenever this
is applicable.