Include votedetail in poll/rate actions.

The JSON result of the poll/rate actions includes the votes per badge, if enabled. This can the be used to update the UI if voting happens via AJAX requests.