initial implementation of rating system

- added ratings database,
- new queries,
- fixed stars on home page
- added rating interface on details page
up-downvote buttons, cookie alert on home page