Fixed PHP-1118: Aggregate cursor on non-existing collection throws weird error.
Merged pull request #714
Fixed PHP-1111: MongoClient constructor crashes on connection to slave.