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.
Fixed tests after added deprecation notice.