Some more restrictions on candidate rating

Do not allow rating of closed candidates.
Do not allow several ratings by the same user.
Rename candidate "rating" to "voting"
implement retrieval of candidate votes