Throw sensible errors on invalid collection names
Merge pull request #156 from rcchan/collection-name

Throw sensible errors on invalid collection names