Add required 'type' field to curl example
Fail with a 400 on a missing/invalid bucket type

Fixes #23
Split invalid bucket test into [missing, invalid] bucket test
Make sure that required errors are indeed thrown
Merge pull request #25 from earldouglas/issue-23

Fail with a 400 on a missing/invalid bucket type