PHP-1265: More descriptive errors for invalid db/collection names
Merge pull request #756