changed ratings logic for relinking recipes

Ratings are now stored in db as doubles which makes it easier to find
highest rated child after a parent is deleted. Rating is rounded and
casted to int in the view.
Merge branch 'master' of https://github.com/Storm9/RecipeShare