Fixed PHP-872: Driver should prevent \0 characters in keys, collection a...

...nd database names.