Refactor the Cookbooks show action and view.

This removes the association logic and loops from the jbuilder template and
moves it into the CookbooksController. It creates a simpler view and a more
testable controller.