Fixed PHP-640: Node selection with secondaryPreferred read preferences.

If we prefer a secondary, then we need to ignore the last item from the list,
as this is the primary node - but only if there is more than one node in the
list AND the last node in the list is a primary.
Swap conditions around in order to make sure this keeps working even if count = 0.
Merged pull request #252
Fixed PHP-641: MongoLog::setModule/setLevel don't reset for each request

They were only reset in GINIT, which is once per thread (in a threaded
environment) or per process (in a non threaded environment).  Moving the
initialisation to MINIT fixes this. setCallback() is not affected as it is a
property of the MongoLog class.
Merged pull request #253
BUMP 1.3.2
Back to -dev.
Fixed PHP-635: The second argument to MongoCursor::__construct() always gets converted to a string.
Merged pull request #251
Fixed bug #644: mongo.ping_interval and mongo.is_master_interval is unused.

The problem was not that they were not used, but only that ini_get() / php -i
didn't show the set value. And this was because we didn't return anything from
the callback functions. We need to return SUCCESS in order for PHP to update
it's internal cache of these values.
Make sure the default INI setting values are used for initialisation as well.
Verify that values are numeric and larger than 0.

INI settings in PHP are *always* strings, and ini_get() will therefore always
return a string as well.

Using is_numeric_string has the interesting property that hexadecimal values (a
la 0x05) are now also supported.
Merged pull request #254
Fixed PHP-617: Use real error codes for MongoConnectionException on ctor failure.

Not much to explain, except that I have changed the notion that an empty option
name or value is not an error.  The spec at
https://wiki.10gen.com/display/10GEN/Connection+String+Format doesn't define
any such options, nor makes comments about this.
Fixed passing error messages onwards.
Fixed code comment.
Merged pull request #248