PHP-1265: More descriptive errors for invalid db/collection names

https://jira.mongodb.org/browse/PHP-1265
This covers the collection half of the old `mongoclient-selectcollection_error.phpt` test.