Fixed PHP-1006 and PHP-1016: createIndex/ensureIndex changes.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333037 c90b9560-bf6c-de11-be94-00142212c4b1