Fixed PHP-792: Memory leak on 32bit platforms with native_long enabled and reading an INT64.
Fixed error code, and add a check for it to the test.

Code 1 was already meaning something else.
Merged pull request #420
Fixed PHP-800: Do not overload error codes.

Making tests for this is tricky, as you need a > 64MB document... not sure if
it's even worth testing.
Merged pull request #433
Fixed a couple of test names to be (mostly) consistent.
Merged pull request #440
Fixed PHP-793: Add deprecation notice to non-array options for MongoDB::createCollection.

I've added some tests to test the new array options and renamed the old tests
to "-old". arginfo was still incorrect, so fixed that as well.
Merged pull request #439
Fixed PHP-805: Deprecate the "chunks" option in MongoGridFS::__construct

I've also made the message in MongoDB::getGridFS() the same.
Fixed proto type as well.
Merged pull request #435
Fixed PHP-802: Deprecate boolean options to MongoCollection::ensureIndex().
Merged pull request #437
Fixed PHP-801: Deprecate boolean options to MongoCollection::insert().

This removes creating artificial structures in insert(), which should make it
use less memory and speed it up. However, it pushes the checking on whether
options were passed to the places where they were used. In collection.c, there
is already another places where we do "if (options &&". log_stream.c is now
required to create an artificial structure when passing things to the logging
handler. In case no options were passed, that used to show an array(), but I
think it makes more sense to use NULL as no options (as opposed to an empty
array) were passed. This caused a test (tests/mongos/stream-logger-001.phpt) to
fail as it expected array() instead of NULL.
Merged pull request #438
BUMP 1.4.0RC1
New branch for 1.4, and updated the version nr in it.
Merge branch 'v1.4'
Back to dev.