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

https://jira.mongodb.org/browse/PHP-1265
This covers the invalid type tests that were in `mongoclient-selectdb_error.phpt`. Additionally, the empty database name case is tested soon after, although we use `''` instead of `null`.