Use Gin validation for new book form

Brian St. Pierre requested to merge validating-forms-with-gin into main

This updates the "New Book" form handler to use Gin's validation instead of doing it manually.

This change is described in a post on Universal Glue as part of a series about writing this web application with Gin and Gorm:

Validating Forms With Gin

Merge request reports