CORE-5451 Fixed /secured/rate-analysis endpoint.

The Donkey endpoint was accidentally passing the comment ID as the user rating score.
CORE-5457 CORE-5451 Updated rate-analysis endpoint.

Updated the RatingService#rateAnalysis method to allow the rating comment ID to be updated for existing ratings.
Rating values will also now be validated to allow only values from 1 - 5.