add constances to represent state of status codes for task and treasure models
fix treasure's price validation to only validate for ON_SALE create only
update pirate index view to display different types of treasures: on_sale, bought, and wishlist
update user helpers to use methods from user model rather than redefining it
WIP updating views for tasks
WIP updating view
move status data addition into controller and away from view for security purposes and updated view
update pirate buys action to check between balance
update treasure controller to use user helper methods to get current user treasures
add new user helper methods to get current user's treasures
add tax rate to users for captain
add tax to treasures
add flash errors in buy action for pirate controller
edit flash errors in create action of treasure controller (WIP)
add method total price to treasure model
create parital to redner list of treasures_on_sale (will make further changes to reuse this partial)
edit captain index treasure view to include in tax rate
add in flash errors for deficit gold
create new migration to add in tax to treasures and tax rate to users
modify seed file to take into account the new tax and tax rate fields added to treasures and users table