feat: add confirmation check to buy buttom
This was a small feature that ended up fixing a data deviation between
the equipment and items tables. Equipment had a cost column, but items
had a price_per_unit column. I've renamed the price_per_unit column
to cost and updated the seeds to reflect that.
This allowed me to simplify the purchase and check code and allow for
a consistent interface for the two item types. In addition, when you
click on the buy button it now checks the db for the actual cost of the
item and only lets you purchase it if you have enough gold.
Previously it would always display the confirm button and only show you
and error after.