Removes duplicate code and flattens the structure
Cleans up the voting action

 - Fixes displaying of poll result in widget
 - Gives an error message if user has already voted
 - Flattens the action structure
Merge branch 'vote_action_cleanup' of github.com:juho-jaakkola/Elgg_1.9_poll into juho-jaakkola-vote_action_cleanup