Ported dining and food pages to use db
Added favoriting, upvoting, and downvoting to database