Authorize cookbook uploads and associate owners

This ensures that the authenticated user is authorized to upload new versions of a cookbook. If it's the first time the cookbook is being uploaded the authenticated user is associated with the cookbook as the owner.