Start to add error handling for creating cookbooks.

This adds error handling at the controller level for dealing with
invalid or missing user supplied data.