register a winner when the votes meets the 'votes to win'.

Implementing functionality so that once the 'votes to win' threshold is reached the battle is marked as completed, the winner & loser entity references are set. This was needed before the scores page (#41) was able to show any results.