Add comment validation rules.

* rating_check: Rating must be between 0 and 5
* duplicate_comment_check: Comment may not be a duplicate

Note that duplicate_comment_check is inefficient as it works the same
way as the logic for $already_rated (foreach loop over all user comments).
Ensure that a user's second comment rating is zero.
Merge branch 'comment-validation'